Show HN: Geomatic – a command-driven geometry studio enabled with autodiff
Source: Hacker News
Overview
All commands have the format output = \func inputs or just \function inputs. Points and scalars are built on the fly. For example, \line a b on an empty canvas creates points a and b, and joins them with a line.
You can use broadcasting semantics similar to NumPy and PyTorch in a visual setting (imagine creating a list of circles where one dimension corresponds to radius and another to the center). The system also supports backpropagation, gradient descent, and visualizing vector fields. Almost everything is reactive, so changing a variable updates all downstream geometry.
It allows anyone to write and load their own visualizations, which can be broadcasted and differentiated through.