dwitter.net | cantelope (3057)

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

}//
140/140


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

  • dis ting

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

  • modulated sphere 1

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
48/140


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

  • φ (the golden ratio)

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

  • interpolated shapes

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

  • torus 4
  • Show more comments…
  • u/tomxor
    @cantelope You might be thinking of the subpixel aliasing issue on Firefox that appeared when they flipped hardware rendering on by default. That affected a lot of dweet rendering, I reported it a while back and it's been fixed in release since v128
  • u/cantelope
    whatever causes the firefox+canvas+linux thing, somehow i always correctly guess the stack... whatever that means
  • u/lewdev
    I was on win11 on my laptop, but it was slow on both Chrome & Firefox. It's smooth on my desktop Win11, which is much more powerful.
  • u/cantelope
    well there you have it, bunk lappy

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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

  • torus 5

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

  • torus 1
  • u/rodrigo.siqueira
    Great perspective!
  • u/cantelope
    a non-obvious trick here is the "sizing" of rects by distance, which creates a pleasing effect. the details matter more than some ppl think

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

  • torus 3

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

  • torus 6

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

  • torus 2

Please log in (or register) to comment.

Loading...
Next page