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.
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.
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.
One more for the day.
It’s always the same number of segments and they are always the same length.
Woke up with this in my head. Had to figure it out before breakfast. (Move your mouse around the canvas.)
Essentially the same as the last one but added some configurable shakiness, rotation and the ability to draw specific parts of the shape. Also discovered that the knob component is really good for confined layouts.
I’ve done variations of this a few times over the years. It’s essentially Jared Tarbell’s Substrate, but with fixed, isometric angles. This one draws all three angles at once. I have some other ideas for this as well, which I’ll be exploring.
You’d be forgiven if you came to the conclusion that I had any idea of what was going on here, especially with the filter node. I’m half decent at coding to an API, but I don’t really have much of a clue about music and sound.
There’s a lot more I could do with this if I knew more about sound and music and synths. But this is not bad for a couple hours work.