dwitter.net

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

}//
139/140


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

  • Swimming creature

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
IV

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

  • pixels
  • u/Billedluh
    This is very impressionist
  • u/IV
    now you mention it, Monet would call it colourful! Thanks for inspiring a theme :)

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

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

  • Portals #art
  • u/donbright
    #slowburn
  • u/rodrigo.siqueira
    I have seen this pattern (circular horizontal lines with a stronger single vertical curved line in the middle) emerge in some recursive functions with a parameter increasing it's value ("-t" in yours). I will post here one that I created with this pattern.

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

}//
133/140


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

  • tai chi

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/19452 by u/smtsjhr

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

  • SOURCE (194/140): H=960;r=(y,a,b)=>x.fillRect(H+y,H-i,a,b);for(c.width|=i=H;j=i/H;i--){f=C(t/4)/2;x.fillStyle=R(0,0,0,.1*(1-j*j));r(y=C(t)*(i/8*S(5*j*j)+S(f*50*j)*H*f*j**4),h=10+.2*H*j**4,9);r(y,9,h);r(y+h,9,h)};
  • u/Qwitter
    Awesome: looks a bit like laminar cigarette smoke to me

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

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

Please log in (or register) to comment.

Loading...
Next page