The story behind $LONDON Gift Shoppe art

0x9428
August 5th, 2021

With the $LONDON Shoppe selling out, thought it time to share more about the generative art and its inner workings.

Choosing its 'source' of beauty

The $LONDON gift generative art was a long study on procedural generation found in game development. I always admired the work put into making game worlds feel more immersive and found a unique opportunity to take some of their technologies to fashion art instead of digital realities.

To that, I have for the last few months researched and explored varying algorithms used by games to create procedural world and the found most promising and interesting design to be "Wave function collapse", WFC for short.

A particularly powerful and adaptable algorithm, WFC at its core is simply a 'soduku' solver on steroids. Instead of resolving numbers in a grid, it resolves visual 'tiles'. These 'tiles' in games would be dirt paths, grass land, forest, and castles.

Image from WaveFunctionCollapse repo
Image from WaveFunctionCollapse repo

$LONDON's generative art is at its core, a WFC implementation made with some key deviations to create 'abstract' art instead of game worlds.

Do you see the WFC algo?
Do you see the WFC algo?

Visual Inspiration

For the art, I was largely inspired by the abstract forms found in Kjetil Golid's work like Archetype and Tilework.

I love the strong forms and strong color identity and wanted to create my expression of this aesthetic. All my previous works tend to celebrate colors in a more painterly way, this algorithm was designed to highlight a more 'pop' art style.

Building a tile generator

WFC matches tiles by matching edge colors
WFC matches tiles by matching edge colors

WFC is at its core, a puzzle solver. You feed it a set of tiles with different colors on the edges, and it tries to match only like color edges together. What is actually drawn within the tile is up to visual design/interpretation.

A good bulk of the work was put into creating a tile generator, a system that allowed me to feed into it simple rules and to extrapolate all the tiles I want out of the simple rules given.

I feed in colors + black and white tile, it does the rest
I feed in colors + black and white tile, it does the rest

In the token metadata of each gift, you will see a tileSet attribute, that attribute selects which set of tiles to use to generate the artwork. Each tileSet offers varying visual output because of the constraints of how the tiles can be matched to each other.

Early brainstorming around tile sets
Early brainstorming around tile sets

Creating art out of randomness

WFC, alone, is great at making world maps in games. The randomness in the system is a design feature, not a bug. In our case however, we actually don't want the randomness. The randomness in WFC results in mostly 'patterns' but I wanted the generative art to each feel distinctive and come with their own 'natural focus' that draws ur eye.

Early build with random tiling
Early build with random tiling

Early builds distributed color evenly and had no capacity to create compositions, and put certain colors in certain areas of the canvas.

To that, I added a noise function pass on top of the WFC implementation; This in affect created a 'weighted' random system that is sensitive to the X and Y cord of the tile to be placed.

For example, say it is near the coordinate (5,5), the algorithm will prefer to choose tiles of, say the color red. If the coordinate is (15, 15), it may prefer to choose tiles of another color, blue.

Along with a noise function pass, I have also built a memory component to make the WFC implementation try to repeat patterns it has tiled earlier. This results in interesting repetitive patterns and create a certain aesthetic.

The difference of the result is subtle but does create quite the variety and 'artistic' vibe in the final output.

Wrapping up

At its core, $LONDON gift shoppe is a fairly elegant algorithm that was the repurposing of a mainly game dev system for art.

With weeks of fine tuning the algorithm, the gift art was ready to be tokenized as a NFT. You may have seen the #experiments along the way as I was polished the algo.

The art is a deviation of what I traditionally do, but it was a welcome change.

Hope you guys and gals like it.

Subscribe
Arweave TX
xVeQPmFMZMg5PRZVCmZJw88b3-K4lkIR5LqF5rDZGpQ
Ethereum Address
0x9428ca8b5fe52C33BD0BD7222d719d788B6467F4
Content Digest
jNuwasIPdCnUfJNCgibslzIcUsSFWmPV8hDailzwDAs