dwitter.net | larsch (150)

+ 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: #Opposites
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) {

}//
122/140


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

  • u/iverjo
    Smooth!
  • u/New_Core
    Would be nice if dwitter had so you could post an example based on a dwitt without posting a new one. for example on this one I would post.. c.width=2e3;for(y=1500;y--;)a=y%29,b=y%52,x.fillRect(b*40,a*40,C((b*a)/8+t*2.5)*40,S((b-a)/7+t*3)*40)
  • u/iverjo
    Ah, a golfed version :)
  • u/lionleaf
    Good idea, I've been toying with the thought for a while. What's your take on how it should look / work in practice? Allow comments to be a dweet that can be opened and closed?
  • u/New_Core
    one way would be to have like a offspring dweet button... when you use it the code will be placed in a dropdown list under the original dweet.. not sure how it should look like but the original show allways first and then you can select an edited version. (keeps comments clean)
  • u/iverjo
    Here's an idea: https://github.com/lionleaf/dwitter/issues/7…

Please log in (or register) to comment.

show FPS hide FPS share 2 remixes fullscreen

function u(t) {

}//
134/140


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

  • Burning ship fractal, zoomed in on an interesting point
  • Show more comments…
  • u/iverjo
    126 characters: for(j=1080;j--;){a=b=0;for(k=35;k--&&a*a+b*b<4;a=c)c=a*a-b*b+t*6e-10-1,b=Math.abs(2*a*b)+j/1e11-1;x.fillRect(t*60,j,1,S(k/9))}
  • u/donbright
    speechless!!
  • u/iverjo
    #fractal
  • u/iverjo
    #burningship

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/294 by u/iverjo

function u(t) {

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

}//
137/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.


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

  • u/lionleaf
    Try following the "wave" with your eyes!
  • u/innovati
    This is amazing!
  • u/vain
    amazing and beautiful effect. Nice tricky illusion

Please log in (or register) to comment.

You've reached the end.