Petro National

John Gerrard · 2022 · Collaborations

A photographic close-up of dark, gently rippling water in muted blue-grey. At centre floats an iridescent oil slick, its thin film refracting into bands of rainbow magenta, green, and gold. The organic teardrop shape glistens against the cold, calm surface—beautiful yet quietly ominous.
John Gerrard · via Art Blocks ↗ · © the artist
Sample output of Petro National
John Gerrard · via Art Blocks ↗ · © the artist
Sample output of Petro National
John Gerrard · via Art Blocks ↗ · © the artist
Sample output of Petro National
John Gerrard · via Art Blocks ↗ · © the artist

196 nations and regions realised as gasoline spills on the world ocean. Centering on a generative thin film refraction algorithm each country and region in Petro National reflects its per capita annual consumption of petroleum, with low-consumption countries and regions manifesting a very thin spill leaning towards the blue green spectrum to high-consumption countries and regions being thick, lustrous and highly iridescent forms. Society consumes 100 million barrels of oil every day with radically differing patterns between global north and south. Each broad consumption category in the works encompasses different atmospheric, wave and sea colour traits which are further affected by the minting seed address. Petro National is a first webgl piece both online and onchain which extends my sustained work over two decades in game engines. These respond to historic intersections of energy and power. See Western Flag (Spindletop, Texas) 2017 as an example or visit johngerrard.net Each of the 196 generated worlds runs on local time as dictated by the time zone of its capital city. Night, day and seasonality will be experienced across the year in the work with long days in summer and short in winter. Countries and regions are openly allocated to collectors upon mint. These are spatial worlds - click and drag on the scene to look around. Press R on a keyboard to slowly rotate the camera, O / P to zoom. G for full screen in generator mode. For more information see : https://www.pacegallery.com/journal/john-gerrard-petro-national/ Production credits. Producer : Werner Poetzelberger, Programmer : Helmut Bressler.

How it works

The core is a thin-film interference fragment shader. Assuming a film of gasoline spreading over the sea surface, it reproduces with mathematics the thin-film interference where light wavelengths reinforce and cancel according to the film's thickness. A thin film becomes blue-green, a thick film a rich colour including red and violet, and an iridescent oil film is computed and rises per pixel. This thin-film model becomes a device that maps each of 196 countries and regions' per-capita oil consumption. A low-consumption country becomes a very thin blue-green film, a high one a thick, dense film, and the abstract figure of consumption is visualised as the colour and thickness of an oil film on the sea. Each country's value decides the expression of an oil film floating on the world's sea, at every point.

Palette

From the generator script · 9
#000000#020302#020402#00501e#004737#000f14#0d1710#080f14#000507
Extracted from outputs · 8
#454d50#536a72#6f858a#93a8bb#6ba7bb#abcef1#e4e8d0#bac8b6

Algorithms

Details

Tools
Babylon.js
Runtimes
Browser (WebGL / GLSL), On-chain Deterministic
Movement
Long-form Generative Art
Medium
On-chain generative edition
Relations
released-on (2022-06) → art-blocks
Script hash
1605a0e82d4409a9c6b368a050f12d34b2c07c54f05151b9594a994d903781e4
On-chain
ethereum · 0x64780ce53f6e966e18a22af13a2f97369580ec11 · #0

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

Autoscope
erik-swahn · 2024
Bokeh (lamps)
mpkoz · 2024
Bokeh
mpkoz · 2024
Cytographia
golan-levin · 2024
Melancholic Magical Maiden
emi-kusano · 2024
Divergence
loren-bednar · 2023
Human Unreadable
operator · 2023
Immaterial
bj-rn-staal · 2023

Last updated 2026-07-16