~eliasnaur/gio-example

ref: 112655e32697e0e4efdd57e100 gio-example/galaxy d---------
all: update to use StateOp instead of StackOp

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
galaxy: adapt donated code to fit gio visualization

This commit adapts the donated galaxy simulation code to work
with the front-end visualization originally posted here:

https://git.sr.ht/~whereswaldon/galaxy-gio

With this change, the entire galaxy example codebase in now under the
same licenses, and visualization code has been better documented.

Signed-off-by: Chris Waldon <christopher.waldon.dev@gmail.com>
galaxy: add simulation engine for galaxy example

This is essentially the code for the Gonum Barnes-Hut example code and
is donated to the Gio project.

Signed-off-by: Dan Kortschak <dan@kortschak.io>