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

function u(t) {

}//
120/140


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

  • The ChatGPT logo, coded by ChatGPT and fixed by me. Inspired by u/shubshub
  • u/CalSch
    Looks more like an eye, does this mean something?
  • u/CalSch
    ChatGPT says that: This dweet creates a 20x20 grid of squares and sets the fill color of each square based on its position relative to the center of the grid. The colors are chosen from an array of four different colors using the hypot() function to calculate the distance between the current square and the center of the grid. The resulting pattern forms the ChatGPT logo, with a blue background and white letters spelling out "ChatGPT". The logo is positioned at coordinates (70, 40) on the canvas.

Please log in (or register) to comment.

u(t) is called 60 times per second. t: elapsed time in seconds. c: A 1920x1080 canvas. x: A 2D context for that canvas. S: Math.sin C: Math.cos T: Math.tan R: Generates rgba-strings, ex.: R(255, 255, 255, 0.5)