4tuna.art

decentralized generative art on Cardano. <°)))><
Epoch
Block .....
Author null Active 0

Collections

mint you own generative art collection on 4tuna.art - soon

All data is decentrally stored on the block-chain and openly accessible to allow integration into other products. This website 4tuna.art only serves as a front-end to assemble transactions and fetch blockchain data. Deploying collections and minting art work directly via the Cardano blockchain accessing the block hashes from the $TUNA blockchain for randomization.

features

workflow

fees

how to create art

The artwork is created within a self-contained HTML document, which will be saved on-chain. To make sure the art is durable and self-contained, no links to external libraries can be used. (Later standards might allow references to popular graphics libraries which are too big to include on-chain.)


The document will have this structure, with templates provided by 4tuna.art.
          ┌────────────────────────────────────────────────────────────────────────┐
          │HTML template - header                                                  │
          ├────────────────────────────────────────────────────────────────────────┤
          │// Javascript code: pre-defined variables: canvas, context,             │
          │// r = random number generator initialized from $TUNA block hash        │
          │                                                                        │
          │context.width = 1024;                                                   │
          │context.height = 1024;                                                  │
          │context.fillStyle = "white";                                            │
          │context.fillRect(0,0,1024,1024);                                        │
          │context.fillStyle = rgb(r.i()%256, r.i()%256, r.i()%256);               │
          │context.fillRect(100,100,824,824);                                      │
          ├────────────────────────────────────────────────────────────────────────┤
          │HTML template - footer                                                  │
          └────────────────────────────────────────────────────────────────────────┘
The artist can access the canvas to draw by the variables canvas and context provided by the template. A pseudo-random number generator r is automatically initialized from the $TUNA block hash and can compute random integers with r.i() and floating-point numbers between a and b with r.f(a, b).

(c) 2024 nullhashpixel

Design based on "The Monospace Web" by Oskar Wickström: the-monospace-web