Maker of things
Back in the day I wrote dozens of simple applets based on math models, physics simulations, and other things that just looked cool. Then browsers stopped supporting applets… I’ve since reworked some of them into usable, though less convenient, forms. I’ll give you the code for the ones that have been reworked, though most of it is very rough since these are not serious projects, but just fun distractions. Some of them were just made to practice new programming or modeling techniques.
The Henon map attractor is old hat, but the structure around the basin of attraction is fun to play with. Slide the parameters around or zoom through the fractal structure.
The repository with Processing sketch, Java code, and windows application.
Start out with a classical Barnsley fern and visually modify each of the functions or make an animation. It beautifully demonstrates the continuous property of the fractal with respect to the parameters.
The repository with the Java code.
Explore stochastic resonance and coupled excitable systems with this simulation. See if you can find the set of parameters that causes a period-doubling bifurcation, which looks really cool.
The repository with the Java code.
A couple different implementations of N-body gravitation simulations. They are by no means useful for scientific purposes, but they are fun to play with.
The repository with the Java code.
Perform a 2-D random walk with any number of particles, then plot the statistics to confirm the results your textbook gives. There is also a version with memory, meaning there is an adjustable probability to step the same way as the last step. These statistics are more difficult, but not impossible, to find an analytical solution for.
The repository with the Java code.
Start with a random grid of colors. Let their RGB values be influenced by their neighbors such that they tend toward the color(red, green or blue) that is most prominent around them. It will evolve toward an irregular equilibrium pattern. Then click to randomize it again. It happens extremely fast, so I slowed the evolution way down to make it observable.
The repository with Processing sketch, Java code, and windows application.
Build a virtual harmonograph and play around with parameters before you try building a physical one. It can produce some really cool patterns.
The repository with Processing sketch, Java code, and windows application.
Look at some random noise and you will find faces and other common patterns. Your brain is extremely good at this. Here you can do it with color. Generate a grid of randomly colored squares(pixels are too small), and see what you can see.
The repository with Processing sketch, Java code, and windows application.
Make clouds of many particles and collide them. This is not very physically accurate, but it can look interesting.
The repository with the Java code.