dwitter.net

+ 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
show FPS hide FPS share fullscreen

function u(t) {

}//
134/140


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

  • A lonely fish

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
114/140


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

  • u/BuRRak
    Golfed down to 83 characters: c.width|=v=500 for(i=0;i<100;i+=.3) x.fillRect(S(3*t*i)*v+960,S(2*t*i)*v+540,10,10)
  • u/Galaxtone
    @BuRRak SyntaxError: Unexpected token for
  • u/BalintCsala
    I guess that should be a new line

Please log in (or register) to comment.

show FPS hide FPS share 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).

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

  • Best brainfuck interpreter I could do in 140 characters, super bad code. You need to change the Q variable to your code for it to run. There are no loops or an input, but the output works just fine.
  • u/BuRRak
    The Q variable declaration is there just so you know what to edit, it could be left out as it is not used anywhere in the code again
  • u/BuRRak
    The output also throws a 0 before every other output

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
103/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
Xen
remix of d/7713 by u/anthonylewis

function u(t) {

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


function u(t) {

}//
82/140


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

  • A simple tunnel to use a base for future effects (hopefully)
  • u/jylikangas
    You can use strokeRect here. Golfed to 71b... for(w=c.width|=i=30;i--;x.strokeRect(960-Z/2,540-Z/2,Z,Z))Z=w/(i-t%2+1)
  • u/magna
    #tunnel

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

  • My first perspective! I know there's like a thousand of these on dwitter, but this is mine and I understand what's going on!

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

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

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