dwitter.net

+ New dweet
function u(t) {
} //
122/140


Please log in (or register) to post a dweet (copy-paste the code somewhere safe to save it meanwhile)


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.
show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
140/140


Please log in (or register) to post as a new dweet (copy-paste code somewhere safe to save it meanwhile).

  • dwitter compressor 3.0 ! pack 194B into 140 char ! adapted from xem
  • u/metamero
    #jstweet_en" rel="nofollow">https://xem.github.io/golfing/#jstweet_en
  • u/metamero
    https://bit.ly/2TXKLIt
  • u/metamero
    #compressor #tool #compressed #application #interactive #obfuscated
  • u/f8f82804
    I'm not sure how this is supposed to work... See for example d/9677 -- your tool gives "eval(unescape(escape𒡦𫱲𚁩👣𛡷𪑤𭁨𧠽𜀻𪐭𛐻𮀮𨡥𩱩𫡐𨑴𪀨𮀮𩡩𫁬𚀩𚐩𠰨𨐽𭀭𪐩🠰𙠦𮀮𩑬𫁩𬁳𩐨𞐶𜀫𚁘🐨𪐪𞐶𜀭𪐪𪐩𚠪𛠵𚡓𚁡𚐩𛀶𜀫𪐬𚁳🐲𝐭𚁓𚁡𛐱𚐪𚁢🐨𜐭𚀨𦐽𪐭𝀸𜀩𛰴𞀰𚐪𚠲𚐪𚠮𝐩𚐪𚠴𚠲𝀩𚡃𚁡𚐪𨠬𬰬𣑡𭁨𛡡𭁡𫠨𦐯𦀩𛀰𛀷𚐻.replace(/u../g,'')))" which is 225B
  • u/f8f82804
    This is on Firefox 64.0, 64-bit, on Ubuntu. This may require a browser that counts characters differently?
  • u/metamero
    just paste the compressed code on new dweet, it works. to remix you have to delete disabled atribute of post button on inspector. this is a #bug on dwitter page's char counting, but server counts right (number of unicode glyphs <= 140) so posting astral unicode chars works fine. there is this discussion on github... but the status now is at least inconsistent.
  • u/f8f82804
    could you point me to that github discussion?
  • u/f8f82804
    ahhhh yeah i see what you mean about inconsistent -- the new dweet shows 225/140 but still allows it to be posted, while the remix button is disabled with the same code
  • u/f8f82804
    personally, I thought that this was intentional, and that the char counting was counting 16-bit char codes, not unicode code points (e.g. the difference between charCodeAt and codePointAt)
  • u/metamero
    u/f8f82804 https://github.com/lionleaf/dwitter/issues/1…
  • u/katkip
    WOW!
  • u/KilledByAPixel
    Uncompressor: https://www.dwitter.net/d/14004

Please log in (or register) to comment.

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)