← All projects

MD5 Gradient Mosaic

by alterebro

Minted
12 / 12
Published
2022-02-23

Playback not started.

Gradient mosaic image generated out of the MD5 hashing of the Tezos token transaction hash (hashception).

The script takes the input string (Tezos transaction hash) and creates its MD5 hash value. A MD5 hash consists of 32 hexadecimal characters, which we'll divide in 6 chunks, the first 4 will be used to create the radial gradients at each corner, the 5th will be the background color and the remaining one will set its opacity.

For example, if we take a Tezos transaction hash like this one: "oovTtV3ZfkvKFjiuj1Fx1ukoRYTQfbwuyjCdEq3NfDRSSTWmNPF"

  • Its MD5 hash will be "83f4367cf358c6300d1691be16afbb04"
  • Then we split the string into chunks [83f436, 7cf358, c6300d, 1691be, 16afbb, 04]
  • We use the leading values to create the radial gradients hexadecimal base colors (#83f436, #7cf358, #c6300d, #1691be)
  • And the last two values to determine the background color (#16afbb) and the background opacity (hexadecimal value 04)

Now we have all the needed data to create a beautiful gradient, we use this generated image to build a mosaic on top of that just for the sake of beautiness :)

You can press the -Spacebar key- to switch between the Gradient and Mosaic views and the -s key- to download the sketch as a PNG image.
Created with p5js by @alterebro

Project information
fxhash project ID
9939
Runtime
fxhash snippet · params: no
Network
Tezos
Token contract
KT1KEa8z6vWXDJrVqtMrAeDVzsvxat3kHaCE
Issuer (mint) contract
KT1XCoGnfupWk7Sp8536EfrxcP73LmT68Nyr
Artist addresses
tz2BUeVRyvnCMwkRTVG24hssSGXPL6ao9HRF
Generator URI
ipfs://QmRLtEt6wbbQg4dr32FzE8MeFKbKmJM334FBiJTYHwT7Hf
Tags
generativegradienthashmd5mosaicjavascriptjscreativecodingp5jsprocessingp5q5colorgridsystemalterebro
View project on objkt ↗

NFTs 12

Ownership snapshot 2026-11-24

Release

Current mint status and pricing are unavailable. Reload to retry.

Primary minting creates a new NFT. This site replays existing NFTs.

Mint history

Supply
12
Indexed NFTs
12
Mint scheduled
2022-02-23T15:33:40.000Z
Primary mints recorded
12
Prices paid at mint
0.64 tez · 12 priced mints

Market history

Secondary trades
2
Recorded volume
6.2 tez / wXTZ
Lowest latest priced sale
1.2 tez / wXTZ
Last completed sales index sync
fx(params) mint tickets
Block 15946495
fxhash issuer v1 (first)
Block 15946495
fxhash issuer v1
Block 15946495
fxhash issuer v2
Block 15946495
fxhash issuer fx(params)
Block 15946495
fxhash marketplace v2
Block 15946495
fxhash marketplace v1
Block 15946495
objkt.com marketplace v1
Block 15946495
objkt.com English auctions v2
Block 15946495
objkt.com marketplace v2
Block 15946495
objkt.com English auctions v1
Block 15946495
objkt.com marketplace v3.2
Block 15946495
objkt.com collection offers
Block 15946495
objkt.com English auctions v3
Block 15946495
objkt.com marketplace v3.1
Block 15946495
objkt.com Dutch auctions v1
Block 15946495