dwitter.net | akm (8202)

+ 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
akm
remix of d/7011 by u/DirtyDan

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/7009 by u/DirtyDan

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

  • If someone can shave 2 characters off, we can invert the colors! Like in d/7011
  • u/akm
    here, I shaved off 10 chars: with(x)for(fillStyle="#FFF",i=0;i++<44;lineWidth=44)beginPath(arc(960+S(a=t*i/11)*(d=i*t*S(t)),540+C(a)*d,i*3,0,7),fill(stroke()))

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

  • This looks WAY cooler if you add x.filter='blur(4px)';
  • u/akm
    woah, thats an awesome dweet and some crazy codegolfing!!
  • u/joeytwiddle
    If I add that filter, flames start coming out of my laptop!

Please log in (or register) to comment.

show FPS hide FPS share 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).

  • Mostly an accident, but it looks cool anyway
  • u/DirtyDan
    Pretty sure most dweets are, lol
  • u/artfarnaa
    Every artist from every domain says same thing. Nothing great emerges without the author saying it was just an accident.
  • u/Lazy1337
    Not always true in creative coding/demoscene tbh

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/6994 by u/snydej

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 2 remixes fullscreen
remix of d/6990 by u/snydej

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

}//
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
Xen
remix of d/6939 by u/snydej

function u(t) {

}//
137/140


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

  • Shoutz 2 snydej & PietPtr

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
137/140


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

  • credit to Amir because he made the dweet; shoutz to Apex because his dweet inspired me, and big big thanks to AnnanFay who helped me make this dweet..

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

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