Some other projects

I haven’t worked on these in several months either. I made these for the fun of it.

Floating particles

Codepen link

I made this one to see if I could. So far it’s my favorite project I’ve built. Many 1-unit mass particles orbiting several heavier particles, up to 1000-unit mass. The particles are attracted to the masses but not each other. The masses orbit each other. The masses don’t combine. It uses the HTML canvas. Not optimized; your fan will go on max with this many particles.

Floating particles with collisions

Codepen link

Similar to the last one, but everything is attracted to everything. The particles’ momentum combines when they collide (approach within a minimum distance). The color changes after a collision. Not optimized; your fan will go on max with this many particles. It’s probably possible to add collision detection so the particles only check their neighbors within a certain distance.

Mandelbrot set generator

Codepen link

It’s monochrome right now and has a few simple optimizations I borrowed from wikipedia. Click to re-center and use the controls to zoom in/out.