dwitter.net | katkip (7015)

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

function u(t) {

}//
133/140


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

  • u/katkip
    t*=5;c.style.filter=`invert(`,L=(Q,X,Y)=>{x.beginPath();for(i=5;i--;)x.arc(X+S(Q*i*i)*30,Y+C(Q*i**3)*50+t%15,0,0,0);x.stroke()} L(1+t|0,50+(t|0)*59%999,80+((((t|0)*59)/999)|0)*150)
  • u/13thptr
    Why did it have to be so insulting ?

Please log in (or register) to comment.

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

}//
131/140


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

  • magnet thing?

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

  • u/CaptainMeat
    i do not understand how any of this code makes this dweets hurt my head

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

  • just playing because i love exploring these kind of mathematical patterns

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

  • u/katkip
    c.width=1e3;f=(x,y,n=(3*t|0))=>n?f(y-2*S(x/9+t),x-2*S(y/9+t),n-1):(S(x)+S(y))/4+.5;for(j=63;j--;)for(i=111;i--;)x.globalAlpha=f(i-55,j-33),x.fillRect(i*9,j*9,9,9)
  • u/Xen
    love it!

Please log in (or register) to comment.

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

  • u/WorldMerge
    That's pretty cool! I didn't know for loops could be used without a comparison.
  • u/jellyedwards
    The comparison is still there, it's just false when i-- is 0
  • u/Xen
    nice!

Please log in (or register) to comment.

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

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

  • u/tomxor
    I'm so torn, should I click awesome?
  • u/katkip
    yes. #obfuscated
  • u/CalSch
    What is this, why is "eval" backwards? Why is the text after the opening comment highlighted like a string instead of a comment? So confusing...

Please log in (or register) to comment.

Loading...
Next page