3 ms·
What @tomxor said! To try it out, go to https://example.com https://example.com and run the following setup code first: c = document.createElement('canvas');
by gregsadetsky 6y ago
What @tomxor said! To try it out, go to https://example.com https://example.com and run the following setup code first:
c = document.createElement('canvas');
document.body.appendChild(c);
x = c.getContext('2d');
S = Math.sin;
T = Math.tan;
C = Math.cos;
t = 0;
You will then be able to paste the tweet code `eval(unescape(...` into the console and see one frame rendered. :-)
- girvo 6y agoYou can also go to data:text/html,<body> instead of example.com (if I got the syntax right for the data URI, I’m on mobile)
- gregsadetsky 6y agoJust tried, that works too! Thanks
- girvo 6y agoYou can do all sorts of next hacks with the data URI syntax :)