Skip to content

Instantly share code, notes, and snippets.

View jareth's full-sized avatar

Jareth van Bone jareth

View GitHub Profile
@jareth
jareth / timelapse.js
Created March 25, 2015 23:10
An experiment in masking and animation with pure javascript. Inspired by Fong Qi Wei's series Time is a Dimension.
// timelapse images
var tINm = [
"http://vanbone.com/timelapse/640x480_000305.jpg",
"http://vanbone.com/timelapse/640x480_001658.jpg",
"http://vanbone.com/timelapse/640x480_003021.jpg",
"http://vanbone.com/timelapse/640x480_004348.jpg",
"http://vanbone.com/timelapse/640x480_005726.jpg",
"http://vanbone.com/timelapse/640x480_011131.jpg",
"http://vanbone.com/timelapse/640x480_012517.jpg",
"http://vanbone.com/timelapse/640x480_013910.jpg",
@jareth
jareth / keybase.md
Last active November 18, 2018 22:41

Keybase proof

I hereby claim:

  • I am jareth on github.
  • I am jareth (https://keybase.io/jareth) on keybase.
  • I have a public key ASBOLTyNNosF3OPq0ISQowiVkJr9uJIKFKl_MSCIfiaU9Qo

To claim this, I am signing this object:

@jareth
jareth / gist:8950789
Last active August 29, 2015 13:56
Scrolling (marquee) text in AS3
/**
* Method 1: string manipulation
*
* assumes my_textfield already exists.
*/
var my_str:String = " Ad hoc ad loc and quid pro quo ";
function scrollText():void {
my_str = my_str.substring(1,my_str.length) + my_str.charAt(0);