dwitter.net | erin (4633)

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

}//
140/140


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

  • happy new year

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/21092 by u/Pascal

function u(t) {

}//
131/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/21083 by u/erin

function u(t) {

}//
97/140


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

  • hexagons
  • u/erin
    this is a reeally shitty hexagon, lets be real

Please log in (or register) to comment.


function u(t) {

}//
108/140


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

  • my first dweet.

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

  • What lies behind the canvas

Please log in (or register) to comment.

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

  • linear motion rolling circle illusion
  • u/katkip
    #illusion
  • u/DataMeta
    nicely done
  • u/pavel
    If you delete c.width=1920 you can see only the first dot move linearly
  • u/femto113
    curves are a side effect of changing N with t, if you use a fixed value like N=16 you get straight lines

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

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/20460 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).

  • well... almost
  • u/pavel
    -12 chars with(x)for(c.width|=i=226;i--;beginPath(fill()),fillStyle=R(T,i))for(j=6;j--;)arc(i%38*59,i%12*99,T=65-65**S(t+i),q=j*1.05+11,q)

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

  • Hexagons are the Bestagons

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

  • how do you render a straight line?

Please log in (or register) to comment.

Loading...
Next page