How To Inscribe A Recursive Ordinal
Using P5.JS + OCM Dimensions Library
In order to inscribe a recursive ordinal using P5.JS you will need to follow these steps
Go to Github and sign up for an account https://github.com/
Download Github desktop and log in to your Github account. https://desktop.github.com/
Download Visual Studio Code https://code.visualstudio.com/
Go to https://p5js.org/ and sign up for an account
Download the P5.JS library https://p5js.org/download/
Go to the Editor, and familiarize yourself with the user interface https://editor.p5js.org/
This is where you will create your art. Using a sketch.js file.
Go to the node.js website and dowsnload node.js https://nodejs.org/en
The make command is stock on a mac, but for windows click http://gnuwin32.sourceforge.net/packages/make.htm
Go to the On Chain Monkey's Github https://github.com/metagood/OCM-Dimensions
Click on Code and than download the zip file and unzip it.
Open up visual studio code
To install OCM dimensions:
Open up your terminal, in VSC or on your PC/MAC and run:
git clone https://github.com/metagood/OCM-Dimensions.git cd OCM-Dimensions
Next Navigate to the "
p5js
directory withcd ../p5js"
Place the javascript code from your P5.JS sketch file in "
input/02_main.js"
.Next run "make clean && make" in the terminal
The final file will be "index.html"
To check if the recursion worked before inscribing, open "index.html" and search and replace "fetch(/content/" with "fetch(https://ordinals.com/content/" (2 places)
Last updated