Why Nostr? What is Njump?
2025-06-22 13:07:16

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.

Really 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

Author Public Key
npub1qrdah0a7qgtj68jyymef9yhjf6983c5m4yv8p9auymf9fwsl0w7s6nlnxl