Skip to content

Instantly share code, notes, and snippets.

View andrelevi's full-sized avatar

Andre Levi andrelevi

View GitHub Profile
@andrelevi
andrelevi / Particles.elm
Last active March 15, 2016 05:15
Simple particle system written in Elm. Must edit Graphics.Collage source to expose sprite function.
import List exposing (map, head, concatMap, concat, append)
import Color exposing (..)
import Graphics.Collage exposing (..)
import Graphics.Element exposing (..)
import Mouse
import Window
import Random exposing (generate, list, float)
import Debug
import AnimationFrame