Let it snow in your Löve games
-- Scene size
width = 800
height = 600
-- Number of snowflakes
maxParticles = 50
local snow = require('snow')
function love.load()
snow:load(width, height, maxParticles)
end
function love.update(dt)
snow:update(dt)
end
function love.draw()
snow:draw()
end