dwitter.net | #emoji

+ 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
Xen
remix of d/9040 by u/firegodjr

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

  • Bit of a dodgy De-Make but... theres a cat ;)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/8761 by u/magna

function u(t) {

}//
130/140


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

  • u/magna 's NSFW, golfed, and with "variable intensity" ;)

Please log in (or register) to comment.

show FPS hide FPS share fullscreen
remix of d/8761 by u/magna

function u(t) {

}//
138/140


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

  • Proof of concept. Christ, what am I doing with my life #sex

Please log in (or register) to comment.


function u(t) {

}//
131/140


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

  • u/micahcowan
    #emoji
  • u/Agnes
    You could use clipping to have the pointing hand disappear into the OK hand if you placed the clip rectangle just right. I don't know how you would save up the characters though, maybe by using a for loop to only have one fillText call (but that would also eat characters with all the ?: statements you'd have instead).
  • u/magna
    Yeah, clipping would make it awesome! Let's see if this can be golfed down significantly to open up space for some clipping.
  • u/Agnes
    I posted a clipping remix. You can do scaling, translation and rotation in a single call to setTransform.

Please log in (or register) to comment.

show FPS hide FPS share fullscreen

function u(t) {

}//
132/140


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

  • u/micahcowan
    Damn! Worked on Chrome on my Android, but not Chrome on my Mac (weird). The building isn't visible. #emoji
  • u/joeytwiddle
    256px is the highest you can go on Mac Chrome, 324px on Mac Firefox. To work around, scale down the canvas.
  • u/BirdsTweetCodersDweet
    Works fine on Chrome on Linux

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen

function u(t) {

}//
123/140


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

  • Just mucking around

Please log in (or register) to comment.

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

  • This is just the time rounded down in hours, there's a bunch of logic that could be golfed away if the clocks string was also golfed down (the first character of each emoji is the same, these also count against the 140 characters)
  • u/davidsharp
    Darn, string should've been πŸ•›πŸ•πŸ•‘πŸ•’πŸ•“πŸ•”πŸ••πŸ•–πŸ•—πŸ•˜πŸ•™πŸ•š
  • u/micahcowan
    Pretty neat!The -1 doesn't work out for hours at 0 or 12. Could have added 23 (before the % 12) instead of subtracting 1 (or yeah, your string-based fix).
  • u/micahcowan
    #emoji #clock
  • u/davidsharp
    I think I fixed the string, and adjusted the numbers, but then undid a bunch of changes, including my string fix and adjusted the code for the broken string instead πŸ€¦β€β™‚οΈ

Please log in (or register) to comment.

show FPS hide FPS share 1 remix fullscreen
remix of d/5183 by u/coderkid

function u(t) {

}//
87/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/7978 by u/BuRRak

function u(t) {

}//
128/140


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

  • Different implementation. Arc version in the comments below.

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

  • Stellar-themed serene scenes
  • u/lionleaf
    Nice one! #emoji
  • u/joeytwiddle
    Blurred out of the park in Chrome v83 on Linux
  • u/joeytwiddle
    Fixed version: c.width=420;x.font="13em'",i=0;for(j of "πŸŒ‡πŸŒ†πŸŒ…πŸŒ‰πŸŒƒπŸŒŒβ›ΊπŸŒ„")k=4*C(6.28*i++/8-t/5)-3,x.globalAlpha=k<0?0:k,x.fillText(j,75,185)

Please log in (or register) to comment.

Loading...
Next page