Universe simulation in Haskell.
Ubuntu 22.04.3
gloss 1.13.2.2
cabal build
Install dependencies:
sudo apt-get install freeglut3 freeglut3-dev libgmp3-dev
cabal install --lib gloss random random-shuffle
Generate output:
ghc -O2 -threaded -dynamic Main.hs
./Main
Inspired by Haskell-gravity-simulation.