Anyone can help adding splash and angle to rain!?
in
Programming Questions
•
10 months ago
Hello everyone,
this is my code for rain, however I would like to add splashes and an angle at which the rain comes from and I am not to sure how, I am a total noob with this. If someone can please fill in the code so that it does!! I would greatly appreciate it!
this is my code for rain, however I would like to add splashes and an angle at which the rain comes from and I am not to sure how, I am a total noob with this. If someone can please fill in the code so that it does!! I would greatly appreciate it!
- void setup () {
- size (600, 600);
- background (0);
- noStroke();
- }
- void draw () {
- fill (0, 20);
- rect (0, 0, height, width);
- fill (28, 151, 255);
- ellipse (random(height), random(width), 2, 15);
- }
1