// TOM'S HARDWARE US — HARDWARE & GADGET
Fable 5.2 creates an underwater world in a browser in only 96 KB
Elegant effort is reminiscent of both old- and new-school demoscene.
When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works.
Claude Fable 5.2 was released recently to mostly rave reviews, with both users and analysis outlets ranking it nipping at the heels of the much pricier Opus 5.5. Perhaps as practical proof of that claim, front-end developer Maksymilian Dendura took inspiration from the demoscene and had Fable roll his own virtual underwater world, Abyssal Garden, in only 96 KB of Javascript/HTML — you can check it out here.
The demo's 3D space and textures are all procedurally generated, meaning they're the result of mathematical equations rather than prebuilt 3D meshes, and all calculated on load. Using actual meshes and images for textures would otherwise take up a significant amount of space.
Building structures procedurally is difficult and has limitations, but it's exceedingly effective when used properly. Some games employ this technique for repeated elements like trees and grass.
Likewise, all the visual effects and even some texturing are done with shaders, which are small programs that change how a mesh or texture appears — for example, to make parts of an object shiny. Games use them extensively, as many players are aware, thanks to endless "loading shaders" screens or Unreal Engine's st-tu-tutering.
The result is definitely impressive, especially but not only as it's purely browser-based, relying on WebGPU and WebGL. Both are rarely-mentioned technologies that have actually existed for a long while now. As their names imply, they let developers render 2D and 3D graphics in a manner similar to that of OpenGL, but in a browser, using JavaScript as the base language.
The demo's most impressive fact is the simplicity of the prompt that got Fable 5.2 to build it. It's only about 40 lines long with word wrapping, and clearly illustrates the degree of autonomy that contemporary agentic AI has when given a specific, yet exceedingly open-ended task like this one. It's reasonable enough to assume the author did a few rounds of tweaking (and he has excellent artistic taste too), but the agent's acumen is nevertheless impressive.
Comparing this demo to an actual game is inevitable, but the reality is that demos have but an atom-sized fraction of the content of a full game, and are limited to little or no interaction, logic, or physics.
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.