Skip to content

Instantly share code, notes, and snippets.

View smoothdeveloper's full-sized avatar

Gauthier Segay smoothdeveloper

View GitHub Profile
module Main where
-- http://www.f13g.com/%A5%D7%A5%ED%A5%B0%A5%E9%A5%DF%A5%F3%A5%B0/Haskell/GLUT/#content_1_7
import System.Random
import Graphics.Gloss
import Graphics.Gloss.Interface.Pure.Simulate
data Particle
= Particle { position :: Point