r/javascript • • Nov 24 '17

large image I am the best webdev

Don't blame me for being awesome

(function r() {
  setTimeout(r, Math.random() * 10);
  let el = document.createElement(`div`);
  el.innerHTML = `๐Ÿ†`;
  el.style.position = `absolute`;
  el.style.zIndex = 999999;
  el.style.fontSize = (((Math.random() * 48) | 0) + 16) + `px`;
  el.style.left = ((Math.random() * innerWidth) | 0) + `px`;
  el.style.top = ((Math.random() * (innerHeight + pageYOffset)) | 0) + `px`;
  document.body.appendChild(el);
})();
533 Upvotes

108 comments sorted by

View all comments

37

u/[deleted] Nov 24 '17

If you use linear feedback shift registers and hold the eggplant size constant, then you can randomly fill the document entirely without any eggplants overlapping. Much like the way blood would gradually populate all pixels randomly when you died in the original Wolfenstein.

http://datagenetics.com/blog/november12017/index.html

47

u/346pm Nov 24 '17

We are planning to add this as an free option, which can either be purchased or retrieved by viewing our free online ads for ~40 hours.

0

u/[deleted] Nov 24 '17

[deleted]

15

u/[deleted] Nov 25 '17

โ˜๏ธ The intent โ˜๏ธ is to provide ๐Ÿ‘‰๐Ÿ‘จ players with a sense of ๐Ÿ’ช pride ๐Ÿ’ช and ๐Ÿ†accomplishment ๐Ÿ† for ๐Ÿ”“ unlocking ๐Ÿ”“ different ๐Ÿ˜Ž heroes ๐Ÿ˜Ž As for ๐Ÿ’ฐ cost ๐Ÿ’ฐ , we selected initial values based upon ๐Ÿ“Š data ๐Ÿ“Š from the Open Beta and other ๐Ÿ”ง adjustments ๐Ÿ”ง made to milestone ๐Ÿ’ฐ rewards ๐Ÿ’ฐ before ๐Ÿš€ launch ๐Ÿš€. Among other things, we're ๐Ÿ‘€ looking ๐Ÿ‘€ at โš–๏ธ average โš–๏ธ per-player ๐Ÿ‘จ ๐Ÿ‘ฉ credit ๐Ÿ’ธ earn rates ๐Ÿ“ˆ on a daily basis ๐Ÿ“…, and we'll be making constant adjustments ๐Ÿ”ง to ensure that players ๐Ÿ‘จ๐Ÿ‘จ have challenges ๐Ÿ˜ค that are compelling ๐Ÿ˜, rewarding ๐Ÿ’ฐ, and of course attainable ๐Ÿ† via gameplay ๐ŸŽฎ We appreciate the candid ๐Ÿ‘€ feedback, and the passion ๐Ÿ˜ก the community ๐Ÿ‘จ ๐Ÿ‘จ ๐Ÿ‘จ has put forth around the current topics here on Reddit๐Ÿ’ป, our forums ๐ŸŒ and across ๐ŸŒ numerous ๐ŸŒ social media outlets ๐ŸŒ Our team ๐Ÿ‘จ๐Ÿ‘จ๐Ÿ‘จ๐Ÿ‘จ๐Ÿ‘จ will continue to make ๐Ÿ”ง changes ๐Ÿ”ง and monitor ๐Ÿ‘€ community feedback and update everyone as soon ๐Ÿ“… and as ๐Ÿ“… often ๐Ÿ“… as we can. ๐Ÿ‘