Skip to content

Instantly share code, notes, and snippets.

local flux = require "flux"
function love.load()
text = { x = 350, y = 290, alpha = 0, str = "900 Tiny Squares" }
squares = {}
-- Title text
flux.to(text, 2, { alpha = 1 }):ease("linear")
:after(text, 2, { alpha = 0 }):ease("linear"):delay(3)
#!/usr/bin/python2.7
import getopt, sys, os
def fmt(fmt, dic):
for k in dic:
fmt = fmt.replace("{" + k + "}", str(dic[k]))
return fmt
INFILE = "*.png"
OUTFILE = "timelapse.avi"
--
-- tarreader.lua
--
-- Copyright (c) 2018 rxi
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to
-- deal in the Software without restriction, including without limitation the
-- rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
-- sell copies of the Software, and to permit persons to whom the Software is
#include "freeverb.h"
#define undenormalize(n) { if (xabs(n) < 1e-37) { (n) = 0; } }
static inline float xabs(float n) {
return n < 0 ? -n : n;
}