Skip to content

Instantly share code, notes, and snippets.

@mattdesl
Created November 13, 2023 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattdesl/5f8c0a32539dcc43fb9585e8bd22c661 to your computer and use it in GitHub Desktop.
Save mattdesl/5f8c0a32539dcc43fb9585e8bd22c661 to your computer and use it in GitHub Desktop.
hachure notes

Notes on hachure

Some notes on archiving and accessing the media and metadata around digital editions of hachure. These tokens were released through verse but can be retrieved through decentralized storage systems.

See Token Data for a listing of media & data associated with each edition.

Saving High-Res PNG and SVG

In the browser, with the artwork in focus, you can hit the keystroke Cmd + S or Ctrl + S. This will auto-download two files: a 2048x2048px PNG, and an SVG of the paths that could be used for pen plotting. It's recommended to use Chrome for downloading; some browsers might only let one download through.

Saving Animations

This is a bit cumbersome, but if you'd like to generate a per-frame animation of your artwork, you can hit Cmd + Shift + S or Ctrl + Shift + S as soon as the browser opens on the file. You will have to immediately also allow multiple downloads from this domain. This will begin populating your Downloads folder with hundreds of images, to create a frame-by-frame animation (you can close the tab to stop this).

You can then drag and drop all of these frames into a tool, like giftool.surge.sh, to generate a final composite GIF.

Token Data

Here is the token data for each Edition #, including links to the HTML artwork and JSON metadata.

# Token ID HTML metadata
1 3660093770 link link
2 1448960439 link link
3 1018312937 link link
4 1795649860 link link
5 2540163119 link link
6 3254712079 link link
7 1585667072 link link
8 2744814687 link link
9 4176240408 link link
10 2487085273 link link
11 884263342 link link
12 4268739204 link link
13 1117665330 link link
14 1265269886 link link
15 1582645737 link link
16 1054162256 link link
17 2144544295 link link
18 3800233651 link link
19 253263495 link link
20 2326670308 link link
21 930779760 link link
22 2876043806 link link
23 3424792623 link link
24 3784142383 link link
25 2251918816 link link

Notes on IPFS

Hachure is hosted via IPFS, a distributed and peer-to-peer file system. Each asset associated with the project has a speicifc hash. The raw IPFS locator for the token metadata looks like this:

ipfs://bafybeiey33aqjntdfgul6r2vuk5ltgzzcxwjor7z56p6236nrkwtnwk6v4

However, the links here will use the ipfs.io/ipfs gateway to make it easier to open in a browser, such as this directory:

https://ipfs.io/ipfs/bafybeiey33aqjntdfgul6r2vuk5ltgzzcxwjor7z56p6236nrkwtnwk6v4

Notes on Archiving

The metadata contains description, name and also a link to the animation_url (which includes a specific media hash). The media files at this animation_url are hosted in a single IPFS directory, and contains HTML, JS and WASM files.

For example, here is the media URL for Edition #25:

https://ipfs.io/ipfs/QmZXDKSCJBcuieVYMLdPiYcWn8RU2DH17rkUoJB8SEZAvv?hash=1fc600a60bfb36ac29b352e70fc9bd790feb17b52a28c66350854e9fed1b33c0

Token Data as JSON

I've also included a file, data.json here that has the metadata and animation hashes in case you'd like to use them for something.

License

All written material and files within this gist are licensed as MIT.

{
"animation_cid": "QmZXDKSCJBcuieVYMLdPiYcWn8RU2DH17rkUoJB8SEZAvv",
"metadata_cid": "bafybeiey33aqjntdfgul6r2vuk5ltgzzcxwjor7z56p6236nrkwtnwk6v4",
"tokens": [
{
"id": 3660093770,
"animation_hash": "a979b9a112ecb5ee6fe317c0ea90af97a2e3325320344f500a8d26ae51524ed5"
},
{
"id": 1448960439,
"animation_hash": "c86a1bafb9058fdb699b68f9c64fd7332e69997dfe375524c380df1d45c293b2"
},
{
"id": 1018312937,
"animation_hash": "cc2b8c7d36bd578cc95d1f0e0b120a2886ad44b3623c4750352f298df47b59e9"
},
{
"id": 1795649860,
"animation_hash": "e29a23f07f28a12f1894b6ce399e907d8010eb5b8aa95fdabdafc781ae293ce4"
},
{
"id": 2540163119,
"animation_hash": "a7873e5fb4deeddf8fe6e95fbfacaeb06677d7c8fda1e4a2f9dc1db35c24f958"
},
{
"id": 3254712079,
"animation_hash": "4076f7aa9057824ee51f144590981c447b905fb209f92e6b3cad64e029dc5955"
},
{
"id": 1585667072,
"animation_hash": "7fb17aa30f6cb927f207e0a533221b32a7efd7c9a1122044a1e1bff3dd029b0a"
},
{
"id": 2744814687,
"animation_hash": "bfbe814a42afa50c52bf760257bed5096b0468dc8e1edc6b1583abca2d6a2ab9"
},
{
"id": 4176240408,
"animation_hash": "d79976f0a0ed0699544252fa0988b686891844f945cf6ad107bbfe6ed162a6b3"
},
{
"id": 2487085273,
"animation_hash": "b1a686f674b85282ca70a0106a73f0ed951cfddcf75bbc51d03537eb92b9186d"
},
{
"id": 884263342,
"animation_hash": "b879f8a0f2b4d673b046a4ac438ceeee7de2db621a9a0e4036e6b501d46c759b"
},
{
"id": 4268739204,
"animation_hash": "1836689592b0e1fd8e646773f42d6fe43314bd40017a6315cf390003ee3af547"
},
{
"id": 1117665330,
"animation_hash": "46bd4072b116d4a6e3d18a0aa9fa2aaf49da7bd0b8150ec7c834bda589470b53"
},
{
"id": 1265269886,
"animation_hash": "72c4d68f5635fc603f0768c96b98036dd1a458aac90f491328c6df31f6847741"
},
{
"id": 1582645737,
"animation_hash": "4f58a6f9852887c970b6d807a56f8f4ff55b43c462a2847a0e744ebf01f09681"
},
{
"id": 1054162256,
"animation_hash": "dd1dd1249c94957a9e9625e67d8af65f615cd3227b34503a40aea0c9afa49afb"
},
{
"id": 2144544295,
"animation_hash": "268a0c4f124b5900a9a96a8406af068679ec3c5127fbc173c14907721804e37e"
},
{
"id": 3800233651,
"animation_hash": "2bb9f75cd0954785ce9ebf26725f3c5a94f41a4d94b492ff27f2670a20fb37bd"
},
{
"id": 253263495,
"animation_hash": "e3b04ab421c3afc5c277e4c82f89f24115263a2fefc6332c78d31c565742cdf6"
},
{
"id": 2326670308,
"animation_hash": "7a048e70382cabf2899132bffe0a73309bd2fc00bf3c061ff2e5f6159a6533c9"
},
{
"id": 930779760,
"animation_hash": "01ee04f165cd26297895c454075e9d9f0c095e028bcc6c719a0050a692d7992a"
},
{
"id": 2876043806,
"animation_hash": "f9f1592bb7134b68a98a43586eb683d9ea79d6a311de54e37f7a472c49674d9c"
},
{
"id": 3424792623,
"animation_hash": "7d1d2a03d9942083c8abba13f29f40fd0710f766033fdd8a08f6fe3df0f07e8a"
},
{
"id": 3784142383,
"animation_hash": "3d23d19ad8f67fe704498ba513d5f313c720da8fa1c77f8d5ee08a8d24174448"
},
{
"id": 2251918816,
"animation_hash": "1fc600a60bfb36ac29b352e70fc9bd790feb17b52a28c66350854e9fed1b33c0"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment