dwitter.net | tomxor (29561)

+ 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.
Try the new frontend: beta.dwitter.net
Current theme challenge: #Food
show FPS hide FPS share fullscreen
remix of d/12492 by u/tomxor

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).

  • Show more comments…
  • u/DataMeta
    Haha, Xen
  • u/tomxor
    Nice analogy :) like a TV into the computable universe, infinite channel! (sorta)
  • u/21medals
    Why the space in between each character of E?
  • u/tomxor
    Because -- and ++ are assignment operators, and I cannot allow those on loops variables X and Y. It's basically cheaper in chars to pad with spaces than test for this with a regex.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/12516 by u/pavel

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).

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/12451 by u/katkip

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).

Please log in (or register) to comment.

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).

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/12403 by u/tomxor

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).

  • Trying to eval a random string, pauses when its compilable
  • Show more comments…
  • u/tomxor
    If you can also fit in the requirement to reduce entropy then you have the seeds of life inside a dweet :D
  • u/katkip
    yeah
  • u/katkip
    it can be faster with another for
  • u/tomxor
    I tried that but couldn't fit it, so I did the opposite - reduce the search space - I made one that constructs expressions for f(t) and does the canvas bit for it so it actually draws: d/12492

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
129/140


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

  • 60 monkeys per second

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
136/140


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

  • can in theory generate almost any dweet, but will practically never draw a single pixel
  • Show more comments…
  • u/tomxor
    There are 128**140 == 1.0218702384817765e+295 possible Dweets :) If one dweet eval takes 1ns (being very kind) that will take 128**140 / 3.154e+16 == 3.24e+278 years to permute (that's thirty-two duononagintillion four hundred unnonagintillion)
  • u/tomxor
    I suppose I more useful estimate would be the probability of an evaluateable string string... No idea how though.
  • u/joeytwiddle
    I saw a star! Specifically Unexpected token *
  • u/joeytwiddle
    Then I got Mr29 is not defined which is like the opposite of Johnny 5 is alive

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
114/140


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

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
91/140


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

  • Black hole and white hole #attractor and now the space-time tranfer is visible
  • u/katkip
    b+=C(a-C(b+a)/2) is interesting too
  • u/tomxor
    I've never played with attractors, they are so simple and pretty :)
  • u/katkip
    Exactly

Please log in (or register) to comment.


function u(t) {

}//
138/140


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

Please log in (or register) to comment.

Loading...
Next page