dwitter.net | vain (16865)

+ 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/28051 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).

  • Pseudo Global Illumination
  • Show more comments…
  • u/cantelope
    wat
  • u/jdspugh
    Stunning
  • u/ugurkilci
    I'm not understand! 𩡯𬠨𭰽𨰮𭱩𩁴𪀦👩🐱𜀳𝠸𞱩𞱔🐨𜠪𦀦𦠩𙐷🀳𙡙𚡙🀲🱒𛑔🱔𚰮𜀵𞡒𚰽𛠰𝐺𤠡👔🱒𙠽𮀮𩡩𫁬𤡥𨱴𚀭𛑩𙑷𛁩🠾𝰬𜐭𝁥𝐯𚁘𚱙𚰱𞀩𚠪𝐬𜐫𭐥𝠯𝠯𤠩𞠨𭐽𦐼𛠳🱙𚡙𧠲𞡙🀮𝠿𝐺𭰫𦀪𞑞𦐪𝑞𦠪𞐬𥀫𛠱𚐩𦀽𪐥𭰯𝠴𚡒𛑔𛁙👩𛰴𩐳𚡒𛑔𛁚👴𚠳𚱔 How? Your have unicode generator?
  • u/majorh5
    You can use https://beta.dwitter.net for compressing your code to get it even smaller.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
135/140


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

  • My first cool looking dweet

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

  • Five Nights at Tomxor's 🍕

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

  • Firework
  • Show more comments…
  • u/vain
    @noel:
  • u/vain
    @noel: i'm not really sure. But i think the best way to get it work same speed on all PCs it to use t (timer). Btw, the function u(t){your code} will be called 60 times per second. So using d-=4 should run same speed on all fast PCs - but slow down on older slower PCs.
  • u/vain
    Btw, it looks really cool with this green shining spikes.
  • u/joeytwiddle
    I like it, running fast or slow! Viewers can always add t/=2;

Please log in (or register) to comment.


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

  • u/Xen
    whaaaaaa :-O
  • u/tomxor
    The horizontal lightbeams going up and down is somehow familiar... Think I gotta play Doom again :D (for research purposes of course)
  • u/magna
    WOW

Please log in (or register) to comment.

remix of d/20436 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).

  • u/tomxor
    Same concept of XY displacement, but X displacement needs to be inverted when a surface is aligned along Z to give the illusion of the light comming from the observer. Completely unrealistic lighting tricks.
  • u/deobfuscate
    I don't feel like I can make any more dweets with so many good ones like this roaming around.
  • u/danny@hille.dk
    This is just out of this world. #witchcraft
  • u/vain
    Just f*cking amazing! 😎

Please log in (or register) to comment.

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

  • based on one of my older once...

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

}//
110/140


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

  • The #default figured out how to walk.

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

  • MFDCotGLB
  • Show more comments…
  • u/jdspugh
    Meditating Buddha, yes!
  • u/Xen
    nice!
  • u/joeytwiddle
    Almost tomzor. The index is Y and also the angle, hence the spiral visible in remixes. p0i used that index for his globe in d/5600
  • u/andrea270872
    wow!

Please log in (or register) to comment.

Loading...
Next page