Skip to content

Instantly share code, notes, and snippets.

@loleg
Created December 6, 2019 11:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loleg/fcde8f23b50050caeb314ea38f46d274 to your computer and use it in GitHub Desktop.
Save loleg/fcde8f23b50050caeb314ea38f46d274 to your computer and use it in GitHub Desktop.
December dweet
// replace this in the editor at https://www.dwitter.net/d/16799
// it's not < 140 bytes yet, improvement suggestions welcome --> twitter.com/loleg
for(i=0;i<99;i++)for(j=0;j<50;j++){x.fillStyle=`hsl(${S(i)*(i%2?10:1500)},89%,60%,.1`;x.fillRect(i*20,j*20,40*C(t+S(i*j+t/9)^2),9*S(t/11+C(t)*T(t*2+j/t)))}
x.fillStyle='white';K=99
for(i=K;i--;)x.fillRect(i*20,800+S(i/7+t*5)*55,20,500)
x.font='17em monospace'
x.fillStyle='green'; x.fillText('Seasons Greets',115,903)
x.fillStyle='red'; x.fillText('Seasons Greets',105,900)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment