home.js script is the following code (indentation and comments added by me) :
//perform one frame of physics on each snowflake, and draw them.
//f is "the last snowflake I drew before this one"
//Unicorn drawing occurs here
$(j(h,"255,196,255")) //the same pink as seen in the OP's screenshot
I have made some educated guesses as to the meaning of the obfuscated variables.
- H is an array of x,y coordinates, declared elsewhere, that form a
unicorn shape when drawn.
- t is an array of snowflake objects on the screen.
- C is a
var that is declared elsewhere but never assigned to anything, except within
function o. So it is undefined until unicorn drawing occurs, and then it becomes
!0. It appears to behave as a
- g is the sum of the manhattan distances of adjacent snowflakes in
The crucial condition to make the unicorn appear is
if(300<=t.length&&2E3>g&&!C). If my guesses are correct, this translates to "If there are 300+ snowflakes, and they are very close together, and no unicorn has been drawn yet, then draw a unicorn".
Although the pink color and unobfuscated H array are smoking guns, I am not completely confident in my conclusion. I have not personally been able to make the unicorn appear, even after carefully gathering all the snowflakes while holding control. And the OP mentions the unicorn appeared for him after waiting a long time. But the unicorn should never appear, as long as
g is too large.