Hello, everyone! Today I would like to share ten more little programs that I coded in Java using Processing as programming tool. I will briefly describe the main ideas/concepts behind these programs and highlight their visual appearance by putting one screenshot for each of them. Last but not least, prior to coding some of them, I also watched some rather useful tutorials.
Without further ado, here they are:
I used only 13 lines of code or so in order to make this. It's some sort of electric blue. :)
In this program I tried to simulate some random snowflakes from a snowstorm. Here's the result:
Here I tried to make a car race simulation between a Porsche, a Ford, and a BMW. In the end, the Porsche is the car that wins the race. ;)
I programmed this animation using, most notably, the noise() function. Here you can see the final result:
Now here I tried to simulate some ocean waves using the same function and programming principles as above, highlighting two levels of water, shallow and deep. Take a look:
Here's my take on Sierpinski's carpet with noSmooth for the geometry of the rectangles.
And here's the smoothed version of Sierpinski's carpet.
I truly hope you have enjoyed taking a short look at these screenshots and I would be also very pleased to have a read at your thought on them in the comments section below. Thank you!