Skip navigation
The next prompt: Now convert it to javascript and WebGL.
0:00 / 0:24

The next prompt: Now convert it to javascript and WebGL.

fofr

@fofrAI91K followers

Visit on X
194 likesDownloadOriginal post

36,109 views

The next prompt: Now convert it to javascript and WebGL. Make it responsive and performant, so I can resize the window. The room needs to adapt in real time. Still no libraries.

10 Comments

Comments from the original post on X (Twitter)

  • fofr's profile picture

    @fofrAI

    Code:

    3 likes

  • TomLikesRobots🤖's profile picture

    @TomLikesRobots

    Oh wow. That kind of responsive design is what I used to dream of when I was a web dev.

  • fofr's profile picture

    @fofrAI

    Yes! I was nostalgic for the early days of responsive web design too. I was thinking, why shouldn't a room reflow and adapt like a website does?

    1 like

  • genevieveh@'s profile picture

    @genevieve__h

    this is insanely impressive

  • Stern - uɹǝʇS's profile picture

    @nickjohn

    I like this

  • Google's profile picture

    @Google

    Stretching the limits 4 real

  • Kyrelle Buckley's profile picture

    @KyrelleBuckley

    is it still ray tracing in the shader or did it switch to raster

  • Julian C's profile picture

    @JulianUnlocked

    Bet the window resizing will get spicy.

  • Guillermo's profile picture

    @gmartidesign

    still no libraries and it has to resize live. did the lighting survive the port from python or get simplified

  • @Jeuri's profile picture

    @Jeuri2406

    Prompt tip: when you chain "no libraries" + WebGL, lock one constraint per step (geometry first, then resize, then perf). Agents thrash when you change three rules at once. Did the room adapt without a frame drop?