dwitter.net | Tekmap (14024)

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


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

  • TIL you can rotate by shearing

Please log in (or register) to comment.

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

  • u/taupelink
    looks like all-grey on iOS...not sure what's going on
  • u/taupelink
    I think it has to do with the fillRect function and fractional widths. I wonder whether tiny widths get rounded up in iOS, filling in blanks that appear on other systems

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

  • no depth, odd angle, but uncormpressed and with colors

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

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

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

}//
136/140


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

  • Floating thing
  • u/yonatan
    these are nice! i think you can drop the last var and do sth like for(var X,Y,U,i=4e3;...

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
127/140


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

  • rainbow squiggles

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
geb
remix of d/19270 by u/geb

function u(t) {

}//
126/140


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

  • f=(X,Y,r,d)=>{if(d>9)x.beginPath(),x.lineWidth=9,x.moveTo(X,Y),x.lineTo(X+=C(r)*d,Y+=S(r)*d),x.stroke(),f(X,Y,t+r,d*.9)} for(c.width|=r=9;r--;)f(960,540,r*6.3/9,550)

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

  • just my type of generic dweets #katkweet

Please log in (or register) to comment.

Loading...
Next page