Dwitter | mxfh (723)

+ 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.
remix of d/2759 by u/magna

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

  • magna: Whoa! I had no idea about the potential effect of "source-out"...
  • mxfh: me neither ;)

Please log in (or register) to comment.

remix of d/2719 by u/keithclark

function u(t) {

}//
117/140


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

  • mxfh: single fill draw call with fill-rule and arbitrary computation in moveTo

Please log in (or register) to comment.


function u(t) {

}//
130/140


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


function u(t) {

}//
126/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.

remix of [deleted]

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

  • mxfh: Β«It's hard to overstate my satisfaction.Β»

Please log in (or register) to comment.

remix of d/2391 by u/mxfh

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.

remix of d/2376 by u/magna

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

  • donbright: bravo :)
  • sfz: very nice!
  • zanella: Didn't know yours when I did mine (https://www.dwitter.net/d/6216), but yours is waaaay better than mine - I tried to do the dots in the radar and couldn't figure it out. :) BTW, kudos for using the "space" inside the x.beginPath call, great idea!

Please log in (or register) to comment.

remix of d/2390 by u/mxfh

function u(t) {

}//
65/140


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

  • mxfh: a bit more brute force; but hey: Triforce in 4Β³ bytes

Please log in (or register) to comment.

remix of d/2353 by u/cantelope

function u(t) {

}//
78/140


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

  • mxfh: for half dtweet just drop factor 10: .fill(new Path2D("M940 455l-56 97h56l28-48h-56,l28 48h56"),"evenodd")

Please log in (or register) to comment.

remix of d/2327 by u/nonce

function u(t) {

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