- mubox47
- |
- Intrepid Heroic Member
I looked at the apocalpex website's source, I'm pretty new at java but I can understand a few things.
One thing I saw that interested me:
//Your browser sucks
That comment in the code made me laugh. Very important.
Otherwise all it's doing (from what I can tell) is cycling through different glyphs as seen here:
function recalculate(){
for(var g = 0; g < glyphs.length; g++){
for(var y = 0; y < (dimension[0]*dimension[1]); y++){
var on = ((Math.ceil(Math.random()*100)) <= 50);
if((on) && (y <= 2)){
glyphs[g].getElementsByClassName("s69eb76c88557a8211cbfc 9beda5fc062")[y].style.backgroundPosition = "0px -20px";
}
else if(on && (y <=5)){
glyphs[g].getElementsByClassName("s69eb76c88557a8211cbfc 9beda5fc062")[y].style.backgroundPosition = "0px -40px";
}
else if(on && (y <=8)){
glyphs[g].getElementsByClassName("s69eb76c88557a8211cbfc 9beda5fc062")[y].style.backgroundPosition = "0px -60px";
}
else if(on && (y <=11)){
glyphs[g].getElementsByClassName("s69eb76c88557a8211cbfc 9beda5fc062")[y].style.backgroundPosition = "0px -80px";
}
else{
glyphs[g].getElementsByClassName("s69eb76c88557a8211cbfc 9beda5fc062")[y].style.backgroundPosition = "0px 00px";
But the glyphs represented aren't even actual glyphs. I'm going to just guess is it's fake and it serves no purpose. If it does serve a purpose, my guess would be that since this thing is taking a sci-fi feel from what we have seen, maybe the plot is them taking on geomancy to advance technology, and they're trying random variations on the glyphs to try to achieve something?
But that's probably just thinking too deep into it, from what I can tell it doesn't really do anything other than what we see. But I'm still pretty novice at java.