wattsy

A program stored in an Ethereum contract draws each Creases sheet, stroke by stroke, in the real light of your moment.

Creases is meant to mimic how somebody would sketch a pencil drawing. The juxtaposition is that obviously there isn’t anybody doing the sketching. It’s a program, and the program is meant to mimic a human process. Each sheet is done stroke by stroke, like a person would.

The interesting part is that normally, when we create a sketch, we do it one time. It all depends on the way our hand moves, and what our reference was when we drew it. In this case, I didn’t draw it, because Ethereum is the artist. And the reference changes based on the position of the sun and the moon.

I just like the idea that a permanent piece could change, and consistently draw itself based on the moon. You’re not normally going to change the light hitting a piece of paper while you’re drawing it. So each sheet is drawn stroke by stroke, and then it draws itself again, because the light has changed as time has passed.

Creases #18: a folded sheet in red and gold pencil, with dark shadows from the afternoon sun.
Creases #18 at 2 pm on November 23, with the sun in its window.

This edition is 1,018 sheets of paper.

I don’t want my art to die

In all of my works, one of the important constraints I embrace with the Ethereum medium is that I don’t want my art to die. I want it to continue to exist when my servers don’t exist, when I don’t exist, and when browsers no longer draw the way they do now.

That rules out quite a few tools in my toolbox. p5.js, for example, is a script that a browser runs to draw. I can’t use that, because p5.js may not draw the same way in the future, and my browser may treat those pixels differently. In fact, browsers already draw pictures from p5.js differently than they did in 2021. So I have no idea when that will fundamentally change my piece.

My particular artistic direction is to pick a canonical reference, which means I need falsifiability. In other words, I need to be able to look at a picture of my work and say whether or not that is really it. And for that, I need to know the pixels are going to be the same.

A virtual machine inside Ethereum

How I do that is I create a virtual machine inside of Ethereum. It’s a small virtual machine, with only 40,960 slots of memory and 256 local variables. That’s not a very big program. But it means I can execute that program and produce exactly the same picture from any moment in time. And so can anybody else.

I don’t really love confusing people with terms. But sometimes we talk about something being on chain, which means it’s stored on Ethereum. And we also talk about in chain, which means Ethereum itself is doing the drawing. That’s the mode my pieces strive for.

A single Creases sheet takes more than 2 trillion gas. Most Ethereum calls cap at 50 million gas. So obviously there’s a huge difference between what we can draw in a single Ethereum call and what the piece requires. What happens is that the contract itself breaks the drawing into steps, and each one of those steps fits in an eth_call at around 50 million gas.

That means the image you see for my pieces, on IPFS or online, can be reproduced from Ethereum itself.

Creases #25

On November 9th, I rendered Creases #25, one of my favorite ones, through a regular RPC server. It took 63,554 eth_calls, about two hours and 37 minutes, and around 2.2 trillion gas. So it’s not fast, obviously. But at the end of that process, Ethereum itself produced the 20 megabyte file, and it matches the published picture of that piece identically. Same pixels, and also the same CID hash for IPFS.

That means the piece is the contract, and the contract can produce the piece.

The verifier's live page: the published picture of Creases #25, shown faintly while the chain draws it.
The verifier's live page at the start: the published picture of #25 waits, faint, for the chain to draw it.
The verifier's result for Creases #25: 63,554 calls, and IDENTICAL for the traits and every pixel.
The result, 2 hours 37 minutes later.
Creases #25: a diamond fold in graphite, as drawn by the contract.
Creases #25, the file the chain wrote.

I also made the contract self-describing. So in the future, if we don’t have Etherscan, and we don’t have any tools, somebody comes across that contract address and calls it. It will give back the instructions for how to call that contract to reproduce any of the pieces at any point in time.

That’s the constraint I care about when I’m building Ethereum pieces, and that is how Creases is made.

A room with a window

There are some interesting things about the piece itself. Every sheet hangs in its own room. Every piece has a latitude for where the room is, and a direction the window is facing.

When the piece is drawn, the page you draw it from tells the virtual machine living in the token URI what time it is. The piece works out where the sun is, using the latitude of that room. So every piece is different, and every piece is changing continuously.

Creases #18 at noon, lit softly by the sky. Creases #18 at 2 pm, with dark shadows from the low sun. Creases #18 at 2 am, lit pale gold by the full moon.
Creases #18 on November 23: noon, 2 pm and 2 am. Its room is at 52°N, with a west window.

I’ve always loved time-based art, and I wanted to do a piece that embraces Ethereum. Ethereum is essentially a timestamping machine, and we can use that to create interesting variations for the work.

This piece is about a sketch artist working forever. The piece is always changing. The contract doesn’t change. And the instructions to keep it going forever, when I’m not here anymore, are also there.

I hope you enjoy the piece.

Creases is minting now at ownable.art.