dwitter.net | Purpzie (223)

+ 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
remix of d/10110 by u/Purpzie

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

  • within the depths of human imagination

Please log in (or register) to comment.


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

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
53/140


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

  • slowly fills the entire screen
  • u/sharpaxee
    Thank you for your comment i wont have to watch the whole thing.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

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

  • corruption

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
90/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) {

}//
102/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/10207 by u/Purpzie

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

  • same as before but now it's WITCHCRAFT.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

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

function u(t) {

}//
122/140


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

  • i know nothing about this lmao, never played with canvases before
  • u/BirdsTweetCodersDweet
    c.width+=0 for(i=10;i--;)x.fillStyle=R(125,i*25,200,.75),x.fillRect(i*100+T(t*(i/10))*100,S(t*2)*100+250,100,100) -- your code can be shortened down to 113 bytes. In this example, it might not mean much, but for bigger dweets shortening code like this is crucial. If you'd join our discord chat, we could teach you some more tips and tricks like these ;)
  • u/BirdsTweetCodersDweet
    Also- that there is a newline, not a space...
  • u/Purpzie
    Thank you!! I'm way new to this but seriously, thank you for the tips.
  • u/Purpzie
    Heck, the invite is expired...

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
112/140


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

  • u/prplz
    Looks like d/7849
  • u/Purpzie
    Oh heck yeah I forgot to credit you, I was trying to write something similar while using yours as a reference for practice

Please log in (or register) to comment.

Loading...
Next page