Official quick start templates

We recommend that you use one of our templates to get started.

https://github.com/albaart/alba-template-p5-typescript

https://github.com/albaart/alba-template-p5-javascript

<aside> 🥱 TLDR - Use alba.params.seed to seed your project’s randomness.

</aside>

Uploading your script

Your project needs to be combined into a single script, then copy and added in the Artist Dashboard. Alba’s focus is on purely code-based projects, so to ensure that your work is 100% reproducible on-chain, there is no ability to make external API calls, or upload HTML files, pre-rendered images, or other assets.

When you save your code on Alba:

There is a cost calculator in the Artist Dashboard where you can get an estimate on the upload cost of your script.

Alba currently supports releasing projects of any size. However, our dashboard only supports launching projects which are under 24kb after compression. If your project is larger than that, you won’t be able to deploy your project on your own right now, but reach out to us in Discord and we can help publish it in multiple chunks.

Alba’s scripts

In addition to any library dependencies you select while setting up your project, we automatically inject two Alba scripts into your project: