How To Inscribe A Recursive Ordinal
Using P5.JS + OCM Dimensions Library
Last updated
Using P5.JS + OCM Dimensions Library
Last updated
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
Download Github desktop and log in to your Github account.
Download Visual Studio Code
Go to and sign up for an account
Download the P5.JS library
Go to the Editor, and familiarize yourself with the user interface
This is where you will create your art. Using a sketch.js file.
Go to the node.js website and dowsnload node.js
The make command is stock on a mac, but for windows click
Go to the On Chain Monkey's Github
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 with cd ../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(" (2 places)