Skip to content

luke-tangh/universe-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

universe-simulation

Universe simulation in Haskell.

Alt Text

Environment

  • Ubuntu 22.04.3
  • gloss 1.13.2.2

Run

Cabal

cabal build

GHC

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

Appreciation

Inspired by Haskell-gravity-simulation.

About

Haskell universe simulation

Resources

License

Stars

Watchers

Forks