Skip to content

Instantly share code, notes, and snippets.

@alicemaz
Created August 11, 2015 21:18
Show Gist options
  • Save alicemaz/a45a737428755f6d7bd6 to your computer and use it in GitHub Desktop.
Save alicemaz/a45a737428755f6d7bd6 to your computer and use it in GitHub Desktop.
var pl = function(file) {
var img = new Image();
img.src = "img/"+file+".jpg";
return img;
};
var imgs = {
readers: pl("lov0"),
circle: pl("lov1"),
blanket: pl("lov2"),
neck: pl("lov3"),
cycle: pl("lov4"),
pearls: pl("mir0"),
nape: pl("mir1"),
compact: pl("mir2"),
lips: pl("mir3"),
jump: pl("pix0"),
cling: pl("pix1"),
guitar: pl("pix2"),
smoke: pl("pix3"),
poise: pl("pos0"),
raise: pl("pos1"),
shelter: pl("pos2"),
terror: pl("pos3"),
lounge: pl("pow0"),
grab: pl("pow1"),
spread: pl("pow2"),
snarl: pl("pow3"),
jazz: pl("pow4"),
bucket: pl("pow5"),
composite: pl("tot")
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment