~jagtalon/generative-art-template

ref: 1.0.0 generative-art-template/README.md -rw-r--r-- 1.4 KiB
618c8da0 — Jag Talon README: Notes for people who don't want CoffeeScript 1 year, 9 months ago

#Generative Art Template

A minimalist template for starting new generative art projects. This was made for me specifically, but you're free to use it! I wrote about it here: https://jagtalon.com/2021/02/20/tiny-generative-art-template/

#Requirements:

How to use the template

#Basics:

  1. Clone the repo: git clone https://git.sr.ht/~jagtalon/generative-art-template [new-artwork]
  2. Go into the new project: cd [new-artwork]
  3. Build the project: ./build.sh
  4. Also run the local server: ./server.sh
  5. Enjoy! Start writing code in art.coffee and load http://localhost:3000/ to see the changes.

#How to use:

How do I change the dimensions of the art?

Modify the width and height properties in <canvas> in index.html.

What if I need NPM packages?

You can import files directly from websites like https://www.skypack.dev/ in art.coffee.

What if I don't like CoffeeScript?

Feel free to modify the code to your needs! I personally enjoy CoffeeScript, but you can remove that dependency and you'll have an even leaner setup!

#Contributing:

Send patches to ~jagtalon/public-inbox@lists.sr.ht (See archives)