Remix.run Logo
Show HN: Geomatic – a command-driven geometry studio enabled with autodiff(tinyvolt.com)
33 points by nivter 4 hours ago | 8 comments

All commands have the format `output = \func inputs` or just `\function inputs`. Points and scalars are built on the fly. Eg `\line a b` to an empty canvas creates points `a` and `b`, and joins them with a line.

One can use broadcasting semantics similar to NumPy and PyTorch in a visual setting (imagine creating a list of circles where one dim corresponds to radius and another to the center). One can also use backpropagation, run gradient descent or visualize vector fields. Almost everything is reactive so changing a variable updates all of the downstream geometry. It also allows anyone to write and load their own visualization, which can be broadcasted and differentiated through.

sowow 4 hours ago | parent | next [-]

I liked this one, but it took me a while to understand, I think this page is a much better intro: https://www.tinyvolt.com/geomatic/examples/getting-started

felooboolooomba 3 hours ago | parent | prev | next [-]

Bug: https://www.tinyvolt.com/geomatic/examples/broadcasting-in-g... Click "Draw a single n-star" Results in a message popping up "unknown command: n-star"

galaxy_quest 18 minutes ago | parent [-]

You have to load the extension, the instructions are in the text above the button.

hbwang2076 3 hours ago | parent | prev | next [-]

Clean implementation. One thing I always look for: how does this degrade when things go wrong? Good error handling is what separates weekend projects from tools people actually use.

dmos62 2 hours ago | parent | prev | next [-]

Pretty cool. Curious, why a one time payment? Why not, say, a smaller monthly payment?

sowow 2 minutes ago | parent [-]

Not OP, but for me personally I’m tired of subscriptions. I’m grabbing the one time payment before OP changes his mind.

ddxv 4 hours ago | parent | prev [-]

What is autodiff?

nivter 4 hours ago | parent [-]

Automatic differentiation. For any DAG with a scalar output, it allows calculating its partial derivative wrt the input parameters.