Fractal(ish) Project?

For this project, I drew inspiration from a video related to sacred geometry on YouTube. I created a design that resembles a fractal using p5.js. Not totally sure if it counts as a fractal project per se, but I decided to make it anyways because it looks cool.

INSTRUCTIONS: Hold down left or right arrow keys to rotate. Single press up and down arrow keys to change number of sides on polygon.

Annoying Math

I had to do math to make this program work. A lot. Of very annoying math. Nothing sophisticated, but still tedious considering how simple this thing is. I don’t even feel like explaining the details of my calculations. All you have to know is that it involved lots of trigonometry and geometry I haven’t used since high school. Here’s a bunch of screenshots of my process:

Future Potential Plans

I had other ideas, and this one was just a “screw it, why not” kind of project. I was hoping to do more with fractals/CA, but couldn’t get around to it. Some ideas I had, and may work on for the final:

• Simulation of realistic looking tree branches, swaying in the wind
• Simulation of blood vessels, or river systems (they look very similar)
• Simulation of sound waves pulsating and bouncing off surfaces, using CA