token-art-tools
React Gatsby static web tool for generative artists working on token/hash based NFT artwork (ex: Artblocks)
https://ctrlshiftmake.github.io/token-art-tools/
Using the Application
Include this in the head of your index.html
file
<script src="https://cdn.jsdelivr.net/gh/ctrlshiftmake/token-art-tools@main/providers/artblocks.js"></script>
Then use the token hash provided by that script to drive features in your artwork
var hash = tokenData.hash;
Host your generative artwork script via a local HTTP server, for example:
python -m http.server 5500
Paste the URL of your local server into the web application
http://localhost:5500
Have fun creating with the available features in the web application!
Projects Setup
Your index.html
file must display your work within a single canvas
tag for all features to work.
P5.js
Standard project setup should work.
THREE.js
Please set the following in your script for screenshots to work.
renderer = new THREE.WebGLRenderer({ preserveDrawingBuffer: true });
Running App Locally
- Clone / fork repository
npm install
make run-server
- Open
http://localhost:8000
Feature Suggestions & Bugs
Please create an issue in this repository if you have any suggestions or discover bugs.