Ran across this yesterday. https://7daysofcode.art/ . Seemed fun. Here’s my entry for Day One. Join me.
Similar 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.
Random point send out feelers in multiple directions until it finds the noise threshold it’s looking for.
Another take on this one…
God knows I’ve dragged this theme through the dirt enough times. But I like this take on it.
The 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.
I 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?
Lesser 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.
There 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. Here’s what I came up with.