The Xkcd thing, now interactive

(editor.p5js.org)

378 points | by memalign 2 hours ago

24 comments

  • BoppreH 1 hour ago
    I would suggest adding the /r/ProgrammerHumor version too: https://www.reddit.com/r/ProgrammerHumor/comments/1p204nx/ac...

    The AI crank always cracks me up.

    • sumo89 53 minutes ago
      The shark biting the cable is what gets me
    • Projectiboga 10 minutes ago
      I like that the hand crank is going counter-clockwise
  • jfkimmes 38 minutes ago
    Here's a little more context about the author's motivation: https://mathstodon.xyz/@csk/116162797629337132
  • panzi 2 hours ago
    Register the mousemove event handler on window, then you will still get the events when the mouse moves out of the window/frame while dragging and it won't be that buggy.
    • DaanDL 1 hour ago
      Was about to comment the same. It's a common mistake/gotcha.
      • benrutter 28 minutes ago
        Possibly dumb question, but does that still hold inside p5js?
        • virgil_disgr4ce 11 minutes ago
          p5 is just a wrapper that adds the setup() and draw() functions, so yes
  • knowtheory 56 minutes ago
    I love that the initial state itself isn't stable.

    The world keeps moving around us. Can't choose staying still.

    • tyleo 27 minutes ago
      Interesting! It's stable on my machine. I wonder if this is due to floating-point differences.
      • andai 4 minutes ago
        On my machine, the initial state isn't simulated. It only begins simulation when I touch it. At which point, the weight causes the bottom blocks to intersect each other significantly.
  • venusenvy47 11 minutes ago
    Is this website intended to break HN on Android? I've never had a website lock up the HN app like this. I couldn't back out, and I was stuck in a loop when the app restarted on the same page.
    • andai 10 minutes ago
      App?
      • Telaneo 2 minutes ago
        There are a few HN readers out there, but none of them are official as far as I know.
  • jascha_eng 43 minutes ago
    This is oddly fun to play with. Has that angry birds vibe
  • fallingmeat 1 hour ago
    oh look at that. removing IBM enterprise apps really doesn’t break anything and the whole stack got lighter. science.
  • bbx 24 minutes ago
    I was expecting it to open the FFmpeg website at the end.
  • briansm 40 minutes ago
    Just to mention the original was cited in the most recent Veritasium video:

    "The Internet Was Weeks Away From Disaster and No One Knew"

    https://www.youtube.com/watch?v=aoag03mSuXQ

    (at about the 9:50 mark)

  • palad1n 21 minutes ago
    THIS IS THE BEST THING EVAR!
  • aanet 2 hours ago
    Too delightful. Like a reverse jenga tower you like to topple over.

    Of course, glad to see it was another @isohedral project.

  • louisbourgault 1 hour ago
    Really cool! To be honest, when I clicked on this I had a hope that it would be possible to add things to the stack like the ongoing memes of just putting different things in there (maybe live with other people as a collaborative editor).
  • mezod 1 hour ago
    this is the best thing internet since the last best thing in the internet
  • 1e1a 1 hour ago
    It looks like the stroke/border is not taken into account in the physics simulation.
  • lwhi 47 minutes ago
    Who are the big blocks that survive the collapse though?
  • tobylane 1 hour ago
    I'd like a medal for clearing the screen of all debris. What's that you say, some of it is still useful? oh
  • egorfine 1 hour ago
    We absolutely need a "whatever Microsoft is doing" object in that.
  • normie3000 55 minutes ago
    It's like open source Angry Birds.
  • josefritzishere 29 minutes ago
    This is very real.
  • _nivlac_ 1 hour ago
    Now we just need a generated version of this based on a package.json!
  • crokie123 1 hour ago
    What’s the Nebraska project?
  • efilife 2 hours ago
    If only it wouldn't collapse by itself after clicking anywhere (clicking seems to activate physics) this would be 10/10
    • koolba 1 hour ago
      > If only it wouldn't collapse by itself after clicking anywhere (clicking seems to activate physics) this would be 10/10

      I think that's the other metaphor here.

      It's not just standing on the tiny shoulders of one forgotten maintainer. The entire system only appears stable because we're looking at a snapshot of it.

      In reality it's already collapsing.

      • glkindlmann 1 hour ago
        but I came here for amusement, not existential dread.
        • gchamonlive 1 hour ago
          Nobody expects ~the Spanish inquisition~ existential dread
    • upsuper 1 hour ago
      And that tiny thing is actually one of the last to collapse...
    • moebrowne 1 hour ago
      Yeah. Seems like there is ~0 friction.
  • wink 1 hour ago
    the weird physics are mildly infuriating. still funny though
    • eastbound 1 hour ago
      That is the joke, I think. The game is to touch anything and try to not make the rest fall down.
      • wink 34 minutes ago
        Not sure. It's not it being unstable, it's small bricks moving bigger stuff to the side and maybe even upward. If I missed the joke I just don't find it funny.
      • seba_dos1 55 minutes ago
        Simply clicking on the empty background already makes things fall down.