ajnor

ajnor is an open-source creative coding toolkit for modern JavaScript.
It is lightweight, functional and fast.
It allows you to create your starry nightsky at a squint.

Get started:

import * as a from "https://cdn.jsdelivr/gh/birdboat00/ajnor/src/mod.mjs"

a.mksketch({
  view: (cv) => {
    a.plot(cv, a.pipe(a.mkpen())
      .to(a.bg, { c: a.colblack() })
      .to(a.rect { p: a.pt(20, 20), w: 360, h: 360, c: a.colwhite() })
      .value
    )
  }
})