Current collected state Current
Observed since 20 Oct, 19:04 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
256art
A package for artists to easily build on top of 256ART
Gives generative artists easy access to data in 256ART pieces in a NodeJS environment.
npm install --save 256art
const TwoFiveSix = require("256art");
Get metadata for one piece
let json = TwoFiveSix.getJsonFromId(1);
Get metadata in base64 format for one piece
let base64 = TwoFiveSix.getBase64JsonFromId(1);
Get all block colors as seeds by converting hex to decimal value from each color in a piece
let seedsFromColors = TwoFiveSix.getDecimalFromHexForAllColorsForId(1);
Get all block colors for one piece (hex)
let blockColors = TwoFiveSix.getBlockColorsForId(1);
Get background color for one piece (hex)
let bgColor = TwoFiveSix.getBackgroundColorForId(1);
Get border color for one piece (hex)
let borderColor = TwoFiveSix.getBorderColorForId(1);
Get total amount of blocks for one piece
let totalBlocks = TwoFiveSix.getTotalBlocksForId(1);
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
fsEnvironment{
"local_name": "fs",
"alias": false,
"peer_metadata": null
} | ^0.0.1-security | runtime |
pathEnvironment{
"local_name": "path",
"alias": false,
"peer_metadata": null
} | ^0.12.7 | runtime |
Source distribution
{
"integrity": "sha512-t0oI9uZe5pNVSQ7gkMaMWF7yJsDm6G3CYFWrzNzCw1hqabhjxuAqT+oRUVs9jbF9CU6j5GofrvrEz5R8jOtgJQ==",
"shasum": "1e32c5de8d8e3956258298e182e531e502ac2e45",
"tarball": "https://registry.npmjs.org/256art/-/256art-1.0.5.tgz",
"fileCount": 4100,
"unpackedSize": 13859612,
"signatures": [
{
"keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
"sig": "MEUCIQDXFB8Kgzl/ZvuFQ0iXN6wo01yzAytQCe7entqqmAznXAIgaWH2RjOOub6whEZQ69ZzQvF7ppFcU3Vg5PI/ev7PEXk="
}
]
}Observed since 20 Oct, 19:04 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:f67c2008a3e606fa7c375ea956d09fb12850fc328dde3d12778f23dbd38ce665