God knows I’ve dragged this theme through the dirt enough times. But I like this take on it.
Read more...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.
Read more...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?
Read more...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.
Read more...What surprised me here is that no matter how you move a single point, the circumcenter only moves back and forth on a straight line.
Read more...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.
http://www.mathematische-basteleien.de/eggcurves.htm
Here’s what I came up with.
Read more...MinimalComps2 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
Read more...One more for the day.
Read more...It’s always the same number of segments and they are always the same length.
Read more...Woke up with this in my head. Had to figure it out before breakfast. (Move your mouse around the canvas.)
Read more...