This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "freeverb.h" | |
#define undenormalize(n) { if (xabs(n) < 1e-37) { (n) = 0; } } | |
static inline float xabs(float n) { | |
return n < 0 ? -n : n; | |
} |