Ran across this yesterday. https://7daysofcode.art/ . Seemed fun. Here’s my entry for Day One. Join me.
minicomps
Probe
experiments, minicompsSimilar to what I was doing yesterday, but this was inspired by the Alien movie, Prometheus – the scene where they send these probes into the alien structure to map it out with lasers or whatever.
Edge Finding
experiments, minicompsRandom point send out feelers in multiple directions until it finds the noise threshold it’s looking for.
Connections with Noise
experiments, minicompsAnother take on this one…
Connections
experiments, minicompsGod knows I’ve dragged this theme through the dirt enough times. But I like this take on it.
Loops
experiments, minicompsThe year is 2021. BIT-101 will be 20 years old in a couple of months. Flash is dead (for real this time). And I’m re-creating Flash experiments I did in 2001. Can’t complain.
Spider
experiments, minicompsI always liked this effect. Simulated 3d just by careful scaling of the x-axis. Of course, the real question is which way is it turning?
Special Triangle Points
experiments, minicompsLesser known points having to do with triangles. Questionable usefulness for some of them. But the circumcircle is nice. I’ll leave it to you to look up what they all are.
How to Draw an Egg
experiments, minicompsThere are very straightforward algorithms for drawing simple shapes like circles, ovals, rectangles, squares, etc. Even more complex shapes like stars. Recently I wanted to draw an egg shape with code and was surprised that there is no standard way to do so.
I did find this page though, which has a host of formulas for drawing ovals, ellipses and egg-shaped … um, shapes.
http://www.mathematische-basteleien.de/eggcurves.htm
Here’s what I came up with.
MiniComps!
minicomps, minimalcompsMinimalComps2 is dead.
Long live MiniComps!
Yes, MinimalComps2 is being rebranded as MiniComps and is hosted at minicomps.org
The new repo is here: https://github.com/bit101/minicomps