Skip to content

Instantly share code, notes, and snippets.

View TheBlackCat778's full-sized avatar

Jorge Romero TheBlackCat778

  • La Habana, Cuba
  • 00:53 (UTC -12:00)
View GitHub Profile
@josephg
josephg / main.lua
Created October 7, 2016 04:21
Pretty love2d particles
local graphics = love.graphics
local TAU = math.pi * 2
local p, pe
local MS=1
local PSIZE=40
function love.load()
graphics.setDefaultFilter('linear', 'linear', 4)
# -*- coding: utf-8 -*-
"""
Simple coloring shader example.
Press any number key (not on the numpad) to change the triangle color
"""