Create an animated low poly background for a desert trekking company. On a 2D canvas, make a jittered grid of points every 70px (50px on phones), split each square into two triangles along a random diagonal, and give every point a height from three crossing sine waves that drift slowly like dunes. Each frame, flat shade every triangle from its surface normal and a point light that sits 300px above the pointer, with distance falloff, and map the result through a ramp from plum shadow (#2e161a) through terracotta (#b5543a) and amber (#e8a15c) to pale sand (#fae0b2). Fill and stroke each triangle in the same colour so no seams show, then add a warm additive glow around the light. A click or tap flares the sun brighter and wider for about a second. After 2.5s without input the light travels a slow arc across the screen on its own, which is what phones see. Over a dark radial scrim, centre an amber uppercase label "Small group desert treks", an 84px serif headline "Walk the dunes at first light" in cream (#fff3e2), one line of sand text and a cream "See October dates" pill button. Cap devicePixelRatio at 2, pause when the tab is hidden and draw one still frame for reduced motion.
Written by Informeek Studio to recreate this design. Prompts are not deterministic, so running it again gives a similar result, not an identical one.
Use it in three steps
- Copy the prompt with the button above.
- Paste it into your AI site builder, or any AI chat that writes code.
- Make it yours by swapping the five colour ramp for a cooler or brighter palette.
About this low poly background
Desert dunes change with every hour of light, so this low poly background is lit live. The triangles form a field of slow moving dunes, and a low sun follows your cursor, so every facet turns brighter or darker as the light passes over it. Colours run from deep plum in the shadows through terracotta and amber to pale sand on the faces that catch the sun. Click and the sun flares for a moment.
Each triangle gets its shade from its surface normal and the direction to the light, the same flat shading 3D software uses, but drawn with a plain 2D canvas. Filling and stroking every triangle in the same colour hides the hairline seams that usually spoil low poly art. When nobody touches the page, the sun drifts across the sky on its own, so phone visitors get the same golden hour.
Why the prompt works
- It explains the shading, normal plus a point light with falloff.
- It gives a five step colour ramp, which sets the mood.
- It fixes the seam problem in one sentence.
- It plans for idle and touch with a drifting sun.
Where to use it
Travel, outdoor, wellness and hospitality heroes, or any warm brand that wants depth without photography.
The prompt is shared under CC BY 4.0. Reuse it freely, including commercially, with a credit linking back to this page.