A 2D animation of moving metaballs, implemented with Go, Fyne toolkit and BubbleTea TUI , based on the marching square algorithm.
./metaballsOpen the metaballs.exe file
Then you can interact with the TUI using the keyboard to set your preferences:

After setting your preferences, press q to confirm and start the animation.
to run the metaballs in the browser, you first need to run a server to serve the wasm file(cant fetch directly since javascript requires CORS headers)
make serveor
./serverrun the server.exe file
after running the server open the wasm/index.html file in your browser click the run button to start the animation
- Metaballs and Marching Squares, by Jamie Wong
- How Computers Draw Weird Shapes, on YouTube
- Fyne toolkit
- Bubble Tea
