Skip to content

Instantly share code, notes, and snippets.

@mattdesl
Last active October 17, 2024 11:54
Show Gist options
  • Save mattdesl/50a3444c1489a49311d01630065689ea to your computer and use it in GitHub Desktop.
Save mattdesl/50a3444c1489a49311d01630065689ea to your computer and use it in GitHub Desktop.

Rendering High-Resolution Meridian Outputs

Meridian is a generative art project deployed on Ethereum, and distributed as unique, artist-signed tokens. This creates an interesting scenario where the value and acquisition of the art project is not tied to the scarcity of access to its media (such as high-resolution PNGs and fine art prints of the algorithm's output). And so, I've created some tools to help all audiences—whether collectors of the tokens or not—export high-resolution outputs of a given Meridian for personal and non-commercial means. For example: fine art printing to hang a Meridian on your walls, or using it as a social media avatar or banner, or including it in a blog post.

First, open the following page and scroll to the interactive component, showing the Meridian software: https://meridian.mattdesl.com/

In that page, open your DevTools Console in the browser, in Chrome it is under View > Developer > JavaScript Console. Each time you click the artwork, it will generate a new hash and print it into the console, such as:

0xc31e6ed37b98a63ae23fa4e83ae73ef9a12210b91763233d878a011b552af1f5

When you see an iteration you like, copy the printed hash and paste it into the following URL format:

https://meridian-high-res.surge.sh/?height=HEIGHT_IN_PIXELS&hash=YOUR_HASH

Where HEIGHT_IN_PIXELS is the pixel height you'd like the PNG to be, and YOUR_HASH is the hash you copied from the generator. For example, to render a 8858px high image with the previous hash:

https://meridian-high-res.surge.sh/?height=8858&hash=0xc31e6ed37b98a63ae23fa4e83ae73ef9a12210b91763233d878a011b552af1f5

Once finished, you can Right Click > Save As the image, here's how the above hash looks:

A few common sizes and their respective pixel heights:

    PRINT SIZE          PIXEL HEIGHT
XS: 28.125  x 50  cm    5906
 S: 42.1875 x 75  cm    8858
 M: 56.25   x 100 cm    11811
 L: 84.375  x 150 cm    17717

Printing

If you are looking to print Meridian yourself rather than through my shop, I'd suggest searching for fine art printing studios, and printing on matte 100% cotton paper, such as Hahnemühle Photo Rag 308gsm.

License

Meridian is licensed as CC BY-NC 4.0, so you are free to use the software and its outputs for a variety of non-commercial and personal uses. Attribution is not required if you choose to use it as, say, a social media banner. However, if you use it in something like a blog post, I would appreciate attribution to myself, Matt DesLauriers, or to the project page:

https://meridian.mattdesl.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment