• fullscreen
  • sketch_aug21b.pde
  • void setup(){
      size(500, 500);
      colorMode(HSB);
      background(173, 255, 200);
      smooth();
      noStroke();
      noLoop();
    }
    
    void draw(){
      drawSpray1();
      drawSpray2();
      drawSpray3();
      drawSpray4();
      
      save("0182082.png");
    }
    
    
    void drawSpray1(){
      fill(170, 255, 255);
      beginShape();
      vertex(110.38858, 506.01782);
      bezierVertex(110.38858, 506.01782, -20.490234, 334.65768, 28.988342, 348.40875);
      bezierVertex(78.46695, 362.15988, 154.28085, 478.5156, 130.33963, 402.3555);
      bezierVertex(106.39841, 326.19537, -50.815796, 42.710648, 33.77661, 134.7374);
      bezierVertex(118.36899, 226.7642, 187.79858, 454.18665, 145.50241, 269.07535);
      bezierVertex(164.65536, 130.50629, 203.75943, 353.6977, 192.58685, 202.43529);
      bezierVertex(181.41425, 51.172886, 213.3359, -30.276066, 226.90259, 32.13289);
      bezierVertex(240.4693, 94.54181, 230.89282, 341.00427, 257.2282, 193.97305);
      bezierVertex(283.56354, 46.94181, 327.45584, -27.102749, 321.07147, 53.288452);
      bezierVertex(314.6872, 133.67964, 290.7459, 281.76868, 319.4754, 218.30197);
      bezierVertex(348.2049, 154.83525, 420.82666, -2.7738342, 391.29913, 145.31526);
      bezierVertex(361.7716, 293.40427, 322.66754, 364.2755, 384.11676, 317.73322);
      bezierVertex(445.56595, 271.19092, 556.4937, 285.9998, 465.51697, 350.52435);
      bezierVertex(374.54028, 415.04886, 283.56354, 428.80002, 327.45584, 444.66666);
      bezierVertex(371.34808, 460.53333, 554.0996, 436.20435, 463.92087, 476.40005);
      bezierVertex(373.74225, 516.5956, 328.25385, 519.7689, 324.26364, 524.0001);
      endShape();
    }
    
    
    void drawSpray2(){
      fill(160, 255, 355);
      beginShape();
      vertex(107.38858, 505.0);
      bezierVertex(107.38858, 505.0, -23.490234, 343.0, 25.988342, 356.0);
      bezierVertex(75.46695, 369.0, 151.28085, 479.0, 127.33963, 407.0);
      bezierVertex(103.39841, 335.0, -53.815796, 67.0, 30.776611, 154.0);
      bezierVertex(115.36899, 241.0, 184.79858, 456.0, 142.50241, 281.0);
      bezierVertex(100.20621, 106.0, 72.27475, 6.0, 116.96506, 78.0);
      bezierVertex(161.65536, 150.0, 200.75943, 361.0, 189.58685, 218.0);
      bezierVertex(178.41425, 75.0, 210.3359, -2.0, 223.90259, 57.0);
      bezierVertex(237.4693, 116.0, 227.89282, 349.0, 254.2282, 210.0);
      bezierVertex(280.56354, 71.0, 324.45584, 1.0, 318.07147, 77.0);
      bezierVertex(311.6872, 153.0, 287.7459, 293.0, 316.4754, 233.0);
      bezierVertex(345.2049, 173.0, 417.82666, 24.0, 388.29913, 164.0);
      bezierVertex(358.7716, 304.0, 319.66754, 371.0, 381.11676, 327.0);
      bezierVertex(442.56595, 283.0, 553.4937, 297.0, 462.51697, 358.0);
      bezierVertex(371.54028, 419.0, 280.56354, 432.0, 324.45584, 447.0);
      bezierVertex(368.34808, 462.0, 551.0996, 439.0, 460.92087, 477.0);
      bezierVertex(370.74225, 515.0, 325.25385, 518.0, 321.26364, 522.0);
      endShape();
    }
    
    void drawSpray3(){
      fill(150, 255, 255);
      beginShape();
      vertex(107.38858, 507.97873);
      bezierVertex(107.38858, 507.97873, -23.490234, 374.3646, 25.988342, 385.08673);
      bezierVertex(75.46695, 395.80884, 151.28085, 486.5345, 127.33963, 427.15042);
      bezierVertex(103.39841, 367.76636, -53.815796, 146.72568, 30.776611, 218.48141);
      bezierVertex(115.36899, 290.23718, 184.79858, 467.56458, 142.50241, 323.22833);
      bezierVertex(100.20621, 178.89206, 72.27475, 96.414185, 116.96506, 155.79825);
      bezierVertex(161.65536, 215.18231, 200.75943, 389.21063, 189.58685, 271.26727);
      bezierVertex(178.41425, 153.32391, 210.3359, 89.81595, 223.90259, 138.4779);
      bezierVertex(237.4693, 187.13983, 227.89282, 379.31326, 254.2282, 264.66904);
      bezierVertex(280.56354, 150.02481, 324.45584, 92.29028, 318.07147, 154.97348);
      bezierVertex(311.6872, 217.65665, 287.7459, 333.12567, 316.4754, 283.63895);
      bezierVertex(345.2049, 234.15222, 417.82666, 111.26019, 388.29913, 226.72922);
      bezierVertex(358.7716, 342.19824, 319.66754, 397.4584, 381.11676, 361.16815);
      bezierVertex(442.56595, 324.87787, 553.4937, 336.42477, 462.51697, 386.73627);
      bezierVertex(371.54028, 437.0478, 280.56354, 447.7699, 324.45584, 460.14157);
      bezierVertex(368.34808, 472.51324, 551.0996, 453.54333, 460.92087, 484.88495);
      bezierVertex(370.74225, 516.2265, 325.25385, 518.70087, 321.26364, 522.0);
      endShape();
    }
    
    
    void drawSpray4(){
      fill(140, 255, 255);
      beginShape();
      vertex(107.38858, 510.57263);
      bezierVertex(107.38858, 510.57263, -23.490234, 401.67712, 25.988342, 410.41565);
      bezierVertex(75.46695, 419.15417, 151.28085, 493.09558, 127.33963, 444.69757);
      bezierVertex(103.39841, 396.29956, -53.815796, 216.1514, 30.776611, 274.63232);
      bezierVertex(115.36899, 333.11328, 184.79858, 477.6351, 142.50241, 360.00107);
      bezierVertex(100.20621, 242.367, 72.27475, 175.14755, 116.96506, 223.54556);
      bezierVertex(161.65536, 271.94354, 200.75943, 413.77664, 189.58685, 317.6528);
      bezierVertex(178.41425, 221.52896, 210.3359, 169.76999, 223.90259, 209.42947);
      bezierVertex(237.4693, 249.08893, 227.89282, 405.7103, 254.2282, 312.27524);
      bezierVertex(280.56354, 218.84021, 324.45584, 171.78656, 318.07147, 222.87335);
      bezierVertex(311.6872, 273.96014, 287.7459, 368.06738, 316.4754, 327.73572);
      bezierVertex(345.2049, 287.40405, 417.82666, 187.24704, 388.29913, 281.3543);
      bezierVertex(358.7716, 375.46155, 319.66754, 420.4986, 381.11676, 390.92203);
      bezierVertex(442.56595, 361.34546, 553.4937, 370.75616, 462.51697, 411.76004);
      bezierVertex(371.54028, 452.76392, 280.56354, 461.50244, 324.45584, 471.58536);
      bezierVertex(368.34808, 481.66827, 551.0996, 466.2078, 460.92087, 491.75122);
      bezierVertex(370.74225, 517.29456, 325.25385, 519.31116, 321.26364, 522.0);
      endShape();
    }
    

    code

    tweaks (0)

    about this sketch

    This sketch is running as Java applet, exported from Processing.

    license

    advertisement

    marinbluew

    wave spray

    Add to Faves Me Likey@! 1
    You must login/register to add this sketch to your favorites.

    You need to login/register to comment.