MCPcopy
hub / github.com/HashLips/hashlips_art_engine / buildSetup

Function buildSetup

utils/pixelate.js:12–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10const ctx = canvas.getContext("2d");
11
12const buildSetup = () => {
13 if (fs.existsSync(buildDir)) {
14 fs.rmdirSync(buildDir, { recursive: true });
15 }
16 fs.mkdirSync(buildDir);
17};
18
19const getImages = (_dir) => {
20 try {

Callers 1

pixelate.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected