~koehr/donatello

Donatello, like Raphaël, but for the modern web
c40320f1 — Norman Köhring 1 year, 9 months ago
allow color transition
b45bf628 — Norman Köhring 1 year, 9 months ago
library build
c2e2867b — Norman Köhring 1 year, 9 months ago
add type-check script

refs

main
browse  log 

clone

read-only
https://git.sr.ht/~koehr/donatello
read/write
git@git.sr.ht:~koehr/donatello

You can also use your local clone with git send-email.

#Donatello

Like Raphaël, but for the modern web!

#EARLY PRE-ALPHA!

This is by far not a usable library yet. Please be patient.

#Usage

const paper = new Container('test', 800, 600, true)

// this will be easier and/or automated in the future
document.body.append(paper.getNode())

const circle = new Circle(
  paper,
  { r: 30, fill: "#FFF", stroke: "#A00", strokeWidth: 5 },
).animate({ r: 200, cx: 400 }, 2000)

TODO

#Contributing

Contributions are extremely welcome, but in the current, very early, stage, they should probably be about ideas and concepts, instead of code.

#License

MIT License