dwitter.net | magna (133625)

+ 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

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.

show FPS hide FPS share fullscreen

function u(t) {

}//
132/140


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

  • u/BirdsTweetCodersDweet
    with(x)for(c.width|=q=700;q--;)fillStyle=R(q,q-100,2*q-100),beginPath(),arc(960+(z=400-q)*C(t-q),540+T(z)*z,1.01**q+5*C(t)+4,0,9),fill() - a slight bit thicker, butfixed your errors
  • u/iverjo
    Sweet
  • u/AstonC
    Ohhh, thanks, a lot, BirdsTweetCodersDweet. :)
  • u/magna
    Beauty

Please log in (or register) to comment.

show FPS hide FPS share 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

function u(t) {

}//
139/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) {

}//
137/140


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

  • Really wanted this to use a more sophisticated random character generator but I couldn't figure out how to fit it. Thanks to Yonatan for golfing tips (.map instead of .forEach and S being a string instead of an array)!
  • u/joeytwiddle
    Monkey with Typewriter
  • u/joeytwiddle
    Will this eventually write The Complete Works of William Shakespeare?
  • u/zanella
    If AnanFay remixes this, then yes, it will eventually write The Complete Works of William Shakespeare.

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

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/2370 by u/magna

function u(t) {

}//
139/140


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

  • cylinders

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
p01
remix of d/7215 by u/jylikangas

function u(t) {

}//
90/140


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

  • SPEED RUNNING IN GHOST LAND

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
p01
remix of d/7215 by u/jylikangas

function u(t) {

}//
139/140


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

  • Tuulian Minecraft: Sheep edition

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

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

  • u/magna
    120: r=a=>a*Math.random()|0;for(i=w=120;i--;x.fillRect(r(32)*w+b,r(32)*w+b,c=w-2*b,c))x.fillStyle=R(0,r(255),r(255)),b=r(w/2)

Please log in (or register) to comment.

Loading...
Next page