dwitter.net | atgz (184)

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

}//
130/140


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

  • with(x)!(FPS---60)?(fillRect(0,0,T=7e3,T)):globalCompositeOperation='screen',font="77em'",fillStyle=hsl(${t*=T} 99%50%,t<360?fillText("Chromatic",t/6,T/7,1880):0
  • u/atgz
    golfed it to 156 chars but I don't think it is feasible to go down to 140 :P with(x)(S)?(fillRect(S=0,0,T=7e3,T)):globalCompositeOperation='screen',font="77em'",fillStyle=hsl(${t*=T} 99%50%,t<300?fillText("Chromatic",t/6,T/7,T/4):0

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/976 by u/aemkei

function u(t) {

}//
100/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
remix of d/10193 by u/ellisk1

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
remix of d/10202 by u/katkip

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 fullscreen
remix of d/8889 by u/atgz

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 1 remix fullscreen
remix of d/8890 by u/atgz

function u(t) {

}//
85/140


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

  • made it colorless so that it's easier to notice the bistable perception

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/16188 by u/RealPeha

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

  • I guess I fixed the error

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/10010 by u/atgz

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

  • Make this dweet fullscreen, wait for counter to go from 10 to 0, then focus your eyes on the number counting from 60. When the counter goes down to 0, look off from your screen and you will be disoriented

Please log in (or register) to comment.

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

function u(t) {

}//
88/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
remix of d/9723 by u/DataMeta

function u(t) {

}//
96/140


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

  • focus on the middle for a minute then look elsewhere on the screen #illusion

Please log in (or register) to comment.

Loading...
Next page