Extremely jank, but still oh so much better than not having pictures at all.
(List based on these notes by Yoshiki Schmitz)
Extremely jank, but still oh so much better than not having pictures at all.
(List based on these notes by Yoshiki Schmitz)
20 new tests, 700 LoC, 33% LoC now devoted to tests.
Feeling much better 🙏 Now bracing to find out what I broke today.
In the first, I have more control over the vertices and can make irregular polygons. The second is more expressive for making regular polygons, and just looks cooler.
Before:
After:
Turns out it was disabling LuaJIT. So I've now (temporarily? permanently?) disabled LuaJIT in lines.love
Maybe this kind of text processing isn't CPU intensive enough that a JIT can help? I have no idea which way is up anymore.
https://news.ycombinator.com/item?id=31637910#31641916
And no, it's not random or trolling.
"Follow for surreal gamedev. I'm making a Lovecraftian text editor called Tentacle Typer."
It's amazing how short the core of Newton's law of gravity is:
theta = angle(sun.x,sun.y, sat.x, sat.y)
dist = distance(sun.x,sun.y, sat.x,sat.y)
accelx = K*cos(theta)/dist/dist
accely = K*sin(theta)/dist/dist
velx = velx + dt*accelx
vely = vely + dt*accely
posx = posx + velx
posy = posy + vely
plot(posx,posy)
draw_menu
`.
Now I don't need variables to record where the buttons are, and code for button events lives near code for drawing the button.
Here's a little program to do compass-and-straightedge geometrical construction on a computer.
I guess I'm wondering if every Mastodon server also has some non-ActivityPub API.