~jagtalon/generative-art-template

generative-art-template/art.coffee -rw-r--r-- 224 bytes
c37f3082Jag Talon Use /bin/sh instead of /bin/bash 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
import TinyCanvas from './tiny-canvas.js'

width = canvas.width
height = canvas.height

context = canvas.getContext('2d')
draw = new TinyCanvas(context)

# Fill the background
draw.rect(0, 0, width, height, "fill", "black")