dwitter.net | iverjo (55740)

+ 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

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 1 remix fullscreen

function u(t) {

}//
125/140


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

  • u/magna
    WOW
  • u/loni_art
    i dont know what you are doing but i love it
  • u/Bugsy
    Damn, that's a smart approach. I might need to copy it sometime :)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/8694 by u/pythech

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

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

  • The cave

Please log in (or register) to comment.

remix of d/8412 by u/DataMeta

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

Please log in (or register) to comment.

show FPS hide FPS share 2 remixes fullscreen
remix of d/7285 by u/aemkei

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

  • u/aemkei
    5 symbols: x.font="3em'";x.fillText("ᴀscii",C=0,40);for(d=x.getImageData(t*3,Y=t*120%82,2,D=3).data;D<23;)C+=!d[D+=4];x.fillText("Xwo=^ "[C],t*54,Y*22)
  • u/magna
    ASCI version: d/8698
  • u/magna
    3 chars shorter, using existing character set for shading: d/8699
  • u/aemkei
    128 bytes: x.fillText(a=x.font="3em' ",C=0,40);for(d=x.getImageData(t*3,Y=t*120%82,2,D=3).data;D<19;)C+=!d[D+=4];x.fillText(a[C],t*54,Y*22)
  • u/katkip
    #text

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
99/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
Xen
remix of d/8678 by u/DataMeta

function u(t) {

}//
99/140


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

  • Shoutz 2 DataMeta
  • u/DataMeta
    Niiiiiice! I like how it stays cohesive with a large t. Feels more refined overall

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/8639 by u/pythech

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

  • I did also play around with this.. =) I also did a shorter version where I used sin and cos directly on arc x,y instead of using rotate and translate... (didnt get exact same form so I let you guys try that on your own)
  • u/pythech
    Funny how I came up with almost exactly same code d/8677 :D I like yours better though as it's better centered. I first thought the asymmetry made it more stylish but now I regret that choice

Please log in (or register) to comment.

Loading...
Next page