Draw Speed
Update
// available variables: // * w: canvas width // * h: canvas height // * c: counter that increments by one on each redraw // emojis are from http://emojione.com square({ x: random(0, w), y: random(0, h), x1: random(0, w), y1: random(0, w), borderWidth: random(0, 10), borderColor: randomColor(), color: randomColor() }); line({ x: random(0, w), y: random(0, h), x1: random(0, w), y1: random(0, w), borderWidth: random(0, 10), borderColor: randomColor(), color: randomColor() }); circle({ x: random(0, w), y: random(0, h), radius: random(5, 50), borderWidth: random(0, 10), borderColor: randomColor(), color: randomColor() }); text({ x: random(0, w), y: random(0, h), fontSize: random(30, 60), fontFamily: pick(['serif', 'sans-serif', 'mono']), text: pick(['Hello', 'Hola', 'Hallo']), borderWidth: random(0, 10), borderColor: randomColor(), color: randomColor() }); text({ x: c % w, y: c % h, fontSize: '18pt', fontFamily: 'mono', text: '' + c, color: randomColor(true) }); text({ x: w - c % w, y: h - c % h, fontSize: '18pt', fontFamily: 'mono', text: '' + c, color: randomColor(true) }); var size = random(16, 128); image({ path: 'imgs/emojis/1f914.svg', x: random(0, w), y: random(0, h), width: size, height: size }); emoji({ name: pick(['heart', 'unicorn', 'poop']), x: random(0, w), y: random(0, h), width: size, height: size });
Emoji Lists:
Activity
,
Food
,
Nature
,
People
,
Symbols
,
Flags
,
Objects
,
Regionals
,
Travel