MCPcopy Create free account
hub / github.com/HashLips/generative-art-node / addMetadata

Function addMetadata

src/main.js:83–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81};
82
83const addMetadata = _edition => {
84 let dateTime = Date.now();
85 let tempMetadata = {
86 hash: hash.join(""),
87 decodedHash: decodedHash,
88 edition: _edition,
89 date: dateTime,
90 attributes: attributes,
91 };
92 metadata.push(tempMetadata);
93 attributes = [];
94 hash = [];
95 decodedHash = [];
96};
97
98const addAttributes = (_element, _layer) => {
99 let tempAttr = {

Callers 1

createFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected