Gazettes

a generative art project

Minting is live!

1024 editions
0.15 ETH per mint

Introduction

gazettes-illustration

Gazettes is a generative art project by the Redlioneye Gazette team and Pxlq. The project pays tribute to print media and highlights classic formatting such as paragraph layouts, headings, variously styled texts, and images.

We have mixed together our publication concept with classical journalism and generative art to deliver exciting, surprising, unique, and visually stunning
random creations on chain and forever.

Without further ado, let’s dive in!

Gazette breakdown

gazettes-breakdown

Generation process

- 1 -

Color palette

We have used our publication’s covers to source our color palettes. In total 16 editions of Redlioneye Gazette covers were used to extract 16 color palettes, with 5 colors each. Seamlessly binding the color scheme of Gazettes to our original body of work.

gazettes-palettes

- 2 -

Boxes layout
& grid setup

The initial row is reserved for the header while the remaining tiles are generatively organized using the algorithm. Tiles can be single units or merged, making up larger tiles that can span rows or  columns.

gazettes-boxes

- 3 -

Boxes types

Every box will either have a Regular Paragraph or a Content Paragraph.

Regular Paragraph chooses from 4 alignments: indented, left align, center align, right align.

If the Paragraph is Content, then a header or shape will be generated.

The header content uses a random radius for the corners flat or rounded + random number of dots.

gazettes-boxes-types

- 4 -

5 groups of shapes

Each Gazette randomly chooses 1 group of shapes. The shapes generated will be from that group. The shape can have left or right alignment in its box.

gazettes-shapes

- 5 -

Issue number & Header

Numbers range from 0–99

The main header can divide into 2 big headlines or a smaller headline with a leading paragraph.

The length of lines varies.

The issue number box and header can be left or right-sided.

gazettes-headers

- 6 -

Line styles and colors variations

Lines can be sharp or rounded, their 2 colors are randomly chosen from our palettes.

Box background color has
2 variants as well.

gazettes-lines-colors

The Tiling Problem

At the core, we wrote a tiling algorithm that solves a layout problem – given some empty space with known dimensions, randomly place non-uniform tiles. The naive approach here is to randomly split the canvas along the x or y-axis.  But what if we want tiles that can span multiple rows, columns, or both? This is a bit more challenging because we need the algorithm to use a combination of tiles that perfectly fills the space, every time.  So what’s our solution?

First, we make a 3 x 4 meta grid that represents the possible tiling space in single units and holds the coordinate properties. The algorithm recursively selects adjacent tiles, merges their meta properties, and removes them from the available pool in the next iteration, until the entire space is reserved. It then recomputes the coordinates of the merged tiles so the stylizer is aware of their new dimensions.

Once the tiles are organized, we make a second pass adding various elements. There are multiple header types which are generatively created and include a randomly assigned edition number. Because all of the code is stored on-chain, hard coding shapes is always a challenge. To solve this we devised a 5x5 coordinate system for drawing shapes and numbers from 25 possible vertices.

In other words, given the upper left and bottom-right coordinates of any space, we can draw any shape defined within 25 vertices from 1-25. Now, to draw the number 1 only costs 12 bytes (e.g. vertices 8,4,24,25,23). We defined 0-9, allowing us to efficiently create any edition number. When filling tiles, we followed the same scheme, defining shapes in our efficient coordinate system with low memory usage. Tiles also have other properties such as a depth effect, sub-headers, and various line styles.

Line styles are reactive to the other elements in a given tile. For example, if a shape exists on the left or right side the lines will be justified around them. They can also be left, center or right aligned or paragraph style. The alignment effect is achieved by drawing evenly spaced lines within the constraints of the box and randomly trimming from the left, right, or both sides. The method is completely deterministic and resolution-agnostic.

All entropy comes from a single hash. Once a piece is minted, a hash is generated and fed into the algorithm. Given the same hash, the output of the algorithm will be the same every time at any resolution, forever.

The Team

redlion

Redlioneye

A forever sailor at heart,
pirate sometimes,
Founder of Redlion.news

pxlq-

pxlg

Generative artist,
writer of code,
maker of cool shit

dudly_small

Dudly

Visual designer and rising star of crypto art. Busy on weekends with covers for Redlion.news.

61
60
59
58
57
56
53
54
52
55
51
50
49
47
48
46
44
45
43
42
41
39
38
37
36
40
34
35
33
32
31
28
29
27
26
30
25
24
23
22-1
21
19
18
17
16
20
15
14
13
12
11
09
08
07
06
10
02
04
05
03
SHARE

RedLionEye Gazette
redlion.news Β© 2020–2021