Acadamio

Resources > Labs

The Painted Valley: a pointillist landscape through the seasons

The Painted Valley: a flowering valley with pines and a lake, painted in touches of colour

The project

The Painted Valley is a generative art experience: a pointillist landscape that paints itself and transforms through the seasons, accompanied by gentle ambient music. By a lake, umbrella pines rise above flowering meadows, with hills and a pastel sky in the background.

Inspired by pointillism, the painting is made up of thousands of small touches of colour. Neighbouring shades blend in the viewer’s eye to bring light, texture and depth to the landscape.

The project explores the possibility of creating a living painting without using existing images or recorded music. The landscape and music are generated directly by code in the browser.

The generation process

The Painted Valley was created with Codex, OpenAI’s coding assistant, using natural language instructions. The starting point was to design a recognisable, harmonious landscape, then let it evolve as though a painter were continually returning to work on the canvas.

The program describes the terrain, water, trees and flowers in JavaScript. These elements guide a painting engine that draws them with Canvas using small touches of colour. The exchanges helped refine the shapes of the trees, the distribution of flowers, the colours, the seasonal transitions and the smoothness of the rendering.

Rules organise the painting’s transformations: new trees can appear, flowers grow in patches and foliage changes colour. These changes build up gradually, touch by touch, while respecting the composition of the landscape.

The music uses the browser’s sound synthesis capabilities. Widely spaced notes, changing chords and a subtle low drone create an original atmosphere. An echo effect prolongs the sounds to accompany the calm rhythm of the painting.

The result

Each visit begins in spring, with the same landscape. The painting then continues to develop and transform: colours grow warmer in summer, foliage takes on autumn shades, then snow spreads across the hills. When spring returns, new flowers appear in the meadows.

The initial composition is reproducible, but subsequent changes include an element of randomness. Trees and blossoms can therefore vary from one visit to another.

The browser retains the areas already painted and gradually adds new touches. The landscape adapts to the screen dimensions by showing a wider or narrower portion of the same world, without stretching the painting. The experience works on desktop and mobile.

The controls let you pause the painting, speed up its evolution to three times the normal rate, turn the music on or off and enter full screen. They fade away after a few seconds of inactivity and reappear when you interact. Sound is enabled on request.

Video

This video is a recording of the experience in action, including its evolving landscape and generative music.

It lets you watch the seasons pass in this living painting directly on YouTube, as a visual and musical break to relax, read or work.

To discover the full experience, visit the The Painted Valley website.