dwitter.net | tomxor (5343)

+ 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 1 remix fullscreen
remix of d/15952 by u/tomxor

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

  • Ray Marching SDF Smoke
  • u/tomxor
    Runs significantly faster in FireFox for some reason.
  • u/tomxor
    Part of the smokeyness is obtained by exploiting artifacts in the ray marching algorithm itself, by only marching a constant and very short depth (4 steps) smooth aberations appear around the true volume (representative of the sphere tracing)
  • u/DataMeta
    WOW!!! #smoke #realistic #compressed
  • u/tomxor
    #raymarching

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/10534 by u/tomxor

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
    oh wow
  • u/joeytwiddle
    Very nice. Set w=.2 if you don't want to #waitforit
  • u/tomxor
    Oops, this doesn't seem to work at all in some browsers... showing up the aignificant subpixel interpolation differences between canvas implementations. Works in chrome - soz

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
119/140


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

  • deterministically imperfect circles ⭕

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/21304 by u/tomxor

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

  • Smolr
  • u/tomxor
    Also slower, poorly distributed and generally worse... but it fits :P
  • u/tomxor
    #default
  • u/Qwitter
    ; ) nice
  • u/pavel
    Very nice!
  • u/pavel
    -3 slightly lighter for(n=i=9;i;T+=S(r),R+=C(r))R*R<4e5&&T/425|R/99|T/25+17&2?x.fillRect(960+T,540+R,n/++u**.5,.1):r=(u=--n)?t*i*n:(n=T=8,R=i---640,t/i%2-1)

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
remix of d/17298 by u/tomxor

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

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/25338 by u/jdspugh

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

  • Schrödinger Particle Probability - Deterministic With Camera Movement

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/24161 by u/FireFly

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

  • Show more comments…
  • u/tomxor
    fillText Y=i==52?Y-T:Y+T, but can't animate with this method. Don't think it's going to be possible in 140 ether.
  • u/DataMeta
    ugh yes. so satisfying
  • u/sigveseb
    very good, but the king and queen on one side are reversed!
  • u/tomxor
    oops good spot

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/23549 by u/tomxor

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

  • Show more comments…
  • u/danny@hille.dk
    I distinctly remember the grid to be blue... but all the youtube videos shows it to be purple... I think it's a conspiracy :-)
  • u/ullo
    i like
  • u/KilledByAPixel
    dweetabase updated! https://dweetabase.3d2k.com/
  • u/tomxor
    I can't find it now but I seem to remember reading about how emulated colours of amigas look different from real amiga video output. The emulators are probably just spitting out the RGB values and letting the host OS do the gamma etc. I suspect real amiga video output must have been a bit "coloured" which causes this difference.

Please log in (or register) to comment.

Loading...
Next page