Create with p5.js
Follow the steps from the Create and publish tutorial until you reach the lambda create view.

Enter a unique name for this lambda.
Add two dependencies:
p5-jsandreset-css-canvas. The default dependencies can be removed by pressing a "-" button next to them. Then enter a dependency name in the text field and press Enter or click Add.Enter the following lambda's code.
This example prints a mint's seed on the canvas. When the lambda code is executed in preview, a seed value is always 0x00.
After this, continue as in Create and publish tutorial.
The final minted result:

Last updated
Was this helpful?