u(t) is called 60 times per second.
t: Elapsed time in seconds.
S: Shorthand for Math.sin.
C: Shorthand for Math.cos.
T: Shorthand for Math.tan.
R: Function that generates rgba-strings, usage ex.: R(255, 255, 255, 0.5)
c: A 1920x1080 canvas.
x: A 2D context for that canvas.
It works, but it's footprint is too large to work in 140 characters. The algorithm itself is 75 characters, we need sub 70 characters to make a character profit.
Hello sir ! As a matter of fact, we can :) during the past years @subzey, @fakeunicode and I (@MaximeEuziere) have built a solution allowing to store 194 ascii js chars in 140 characters, including the unpacking and the eval. The decoder is 43b long. All the details are here: http://xem.github.io/obfuscatweet/. Cheers
@xem Actually, those are encoded as "multicharacter"-characters. I only work with UTF-16, and thus fit 2 bytes into a single character without making <string>.length "see" my extra characters.
u(t) is called 60 times per second.
t: elapsed time in seconds.
c: A 1920x1080 canvas.
x: A 2D context for that canvas.
S: Math.sin
C: Math.cos
T: Math.tan
R: Generates rgba-strings, ex.: R(255, 255, 255, 0.5)