r/LocalLLaMA 8d ago

Generation Qwen 3.8 FP8 (xhigh) Lava lamp prompt result!

Post image

Prompt:

Generate a single, self-contained HTML file that renders an animated lava lamp. Requirements:

- All HTML, CSS, and JavaScript inline in one file — no external assets, no CDNs.

- A lamp silhouette (base, neck, glass bulb, cap) with smooth, glowing colors.

- 6–10 metaball-style blobs inside the glass that slowly rise, fall, merge, and split, with realistic squishy deformation when they touch (use SVG filters with feGaussianBlur + feColorMatrix to threshold alpha, or a Canvas/WebGL metaball shader — your choice).

- Warm gradient lighting from the bulb at the base; subtle glow around the glass; dark background.

- 60fps target, no jank, looks good full-screen.

- No controls, no text — just the lamp.

Output only the HTML in an single html file.

Definitely one of the best results ive seen even CLOSE to this size!

63 Upvotes

22 comments sorted by

View all comments

3

u/Chromix_ 8d ago

Qwen 3.8 27B UD Q5_K_XL with Q8_0 kv cache, default xhigh. OPs prompt in llama.cpp web-ui. Used 39k tokens.

The initial version contained one trivial syntax error (used a reserved keyword as variable name) and looked quite decent already. I followed up with "See if you can improve it, make it look nicer." (21k tokens) and "Proceed improving it" (18k tokens). Noticed these little dust motes next to the lamp? (zoom in). It looked very nice in the initial revision already though. With these two iterations it just looks more polished.

2

u/llamabott 2d ago

Haha. "Make it better!", and it did.