dwitter.net | SockTaters (46036)

+ 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

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/aaaaaz
    anylink to understand how does it works ? it looks like Lissajous but superposed
  • u/taupelink
    No links handy, sorry! I can say that this code adapts the concept of signed distance functions. f is a SDF in one dimension, g in two dimensions. g uses binary arithmetic to kind of pick out certain parts of the output of f, and the parameter of g makes it work at different scales.
  • u/taupelink
    Also: If you see a term like "i%2" or "i%3" or "(i&5)" in any of my recent dweets...that tends to superimpose two related-but-different patterns on each other. Which can be hard to make work. I am still experimenting!
  • u/taupelink
    *two or more, depending on the expression

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

  • Plant - light gradient #plant

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.

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

  • Eye of the beholder... πŸ‘οΈ πŸ‘οΈ
  • u/cantelope
    that "eye of the beholder" platitude does not account for the "other dimension" of ineffable things like beauty, art, literature, etc. There is a dual property which defines the quality of some things, being 1) personal preference, and 2) objective quality with respect to its purpose. Neither bit can be truncated or the truth is lost. Nor can the 2 dimensions be forced into a single, linear value. this is why some contests can never be competitions, but are in fact, popularity contests ;)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
124/140


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

  • Enso ☸️

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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.

show FPS hide FPS share 1 remix fullscreen
mhi
remix of d/11450 by u/katkip

function u(t) {

}//
111/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
remix of d/31873 by u/thenize

function u(t) {

}//
100/140


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

  • u/warbino
    awesome!
  • u/mhi
    mid tbh
  • u/cantelope
    @mhi, while some users may not mind non-constructive criticism, this user didn't ask you. Please keep feedback positive
  • u/thenize
    thanks for the feedback mhi

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
99/140


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

  • u/warbino
    awesome!
  • u/mhi
    if youre gonna remix at least make it better
  • u/cantelope
    @mhi, without specific corrections or ideas, criticism isn't constructive. for example, this is constructive criticism about your comment. please keep the spirit positive thank you

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/thenize
    skoehler stole your dweet
  • u/warbino
    ummmm someone stole your code............... his name is skoehler .
  • u/cantelope
    @warbino, @thenize. this may be the last time you are reminded about the spirit of this platform. we do not dwell on "stealing" of code, as remixes are a provided function of the site. Your pattern of edge comments itself, since it continues, may be considered abuse. Unless you stop, there may be action.

Please log in (or register) to comment.

Loading...
Next page