dwitter.net | Cloud (15470)

+ 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 1 remix 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).

  • Example of looping with recursion, trailing off as time goes by
  • u/joeytwiddle
    For the first 9 seconds it calls u() 250 times per frame (on average), after that just once per frame
  • u/hollo47
    Looks like these M.C. Escher lithographies, I love the feel of it!

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/7550 by u/prplz

function u(t) {

}//
104/140


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

  • Happy spring!

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

  • Tribute to Strange Crystals
  • Show more comments…
  • u/iverjo
    #tunnel
  • u/sigveseb
    #witchcraft
  • u/pavel
    Even better with(x)for(c.width=W=350+C(t)*150,i=17;--i;fill(rect(X-z,70+z,z*2,7)))globalAlpha=.2,z=150/(i-t*8%1),arc(X=W/2+i*S(t/3)*4,70,3*z,9,13)
  • u/vain
    This psydo 3D programming is just too high for me! My biggest respect! ! ++++

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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

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

}//
128/140


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

  • u/alien
    this is nice, i guess i was trying to force it too much by using sine waves function...

Please log in (or register) to comment.


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

  • inspired from yonatan's way to code ... but I had to cut out alot...
  • u/New_Core
    x[q='fillStyle']='#0001' x[f='fillRect'](0,0,a=2e3,a) for(i=a;i-=4;x[f](a*S(i*99)*s+955,a*C(i)*s+535,s*9,s*9))s=99/((i+t*99)%a-a),x[q]=hsl(${i},99%,50%

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.

show FPS hide FPS share fullscreen

function u(t) {

}//
124/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