shoebot / toybot-scenegraph

Experimental scenegraph renderer for bot languages
0 stars 1 forks source link

General API chat. #16

Open stuaxo opened 4 years ago

stuaxo commented 4 years ago

Plotdevice has a nice use of with statements

e.g.

with skew(-45):
    rect(0, 0, 100, 100)
stuaxo commented 4 years ago

async is interesting for IO intensive things like loading images.

Of course if you go down that road, do you default to async everywhere ?

stuaxo commented 4 years ago

I'm strongly in favour of center origin by default, it makes stuff like caching shapes easier.

Of course in the higher level API, having some sort of arbitrary origin makes sense.

Some chat on this shoebot bug https://github.com/shoebot/shoebot/issues/34