Andrew on Nostr: Not sure what I'm going to do with this yet, but I figured there was room for a ...
Not sure what I'm going to do with this yet, but I figured there was room for a library that sat kind of between Manim and Geogebra, so I spent a day or two building this, which at least for now I'm callng Signal Canvas. Elements are added Manim-style, using code, but they update Geogebra-style, in that a point defined as "the intersection of these two lines" automatically moves around if the lines change.
The idea is that this could work as a relatively straightforward way to add animating and/or interactive diagrams to maths blogs and whatever, with only a small amount of code and not too much technical knowledge (once I package it up nicely). For that reason this is all in JavaScript rather than Python, or whatever Geogebra is built in.
Obviously it's extremely limited, because I only bothered to support points, lines, checkboxes, sliders, time and intersections for now, but it could be expanded easily to add other kinds of elements and inputs.
{
"id":"f390aeaa2c0eb7156bec5260ee23127fec0eda4b089e4afb13f57bb08770f14e",
"pubkey":"00dbdbbfbe02172d1e4426f29292f24e8a78e29ba9187097bc26d254ba1f7bbd",
"created_at":1750597636,
"kind":1,
"tags": [
[
"imeta",
"url https://media.mathstodon.xyz/media_attachments/files/114/727/080/497/622/463/original/586ce21f33c08a24.mp4",
"m video/mp4",
"dim 572x654",
"blurhash U3RW0b9G_4IVk6IUM|og_MM{IUt7R*bEoeWB"
],
[
"proxy",
"https://mathstodon.xyz/users/andrewt/statuses/114727166675293308",
"activitypub"
],
[
"client",
"Mostr",
"31990:6be38f8c63df7dbf84db7ec4a6e6fbbd8d19dca3b980efad18585c46f04b26f9:mostr",
"wss://relay.mostr.pub"
]
],
"content":"Not sure what I'm going to do with this yet, but I figured there was room for a library that sat kind of between Manim and Geogebra, so I spent a day or two building this, which at least for now I'm callng Signal Canvas. Elements are added Manim-style, using code, but they update Geogebra-style, in that a point defined as \"the intersection of these two lines\" automatically moves around if the lines change.\n\nThe idea is that this could work as a relatively straightforward way to add animating and/or interactive diagrams to maths blogs and whatever, with only a small amount of code and not too much technical knowledge (once I package it up nicely). For that reason this is all in JavaScript rather than Python, or whatever Geogebra is built in.\n\nObviously it's extremely limited, because I only bothered to support points, lines, checkboxes, sliders, time and intersections for now, but it could be expanded easily to add other kinds of elements and inputs.\n\nReally what I'm pleased with is just how little code it takes to build this example: https://github.com/andrew-t/signal-canvas/blob/main/main.ts\n\nhttps://media.mathstodon.xyz/media_attachments/files/114/727/080/497/622/463/original/586ce21f33c08a24.mp4",
"sig":"b5207797e6baab6795b6679064b01a632626a64e06e90512324585a3508a00ddb6bf2bae5b2abddf6b1a6508f7498baa94de83ab2a9286b17a349721ac05dc1a"
}