Schmavery / reprocessing

ReasonML graphics library inspired by Processing
https://schmavery.github.io/reprocessing/
MIT License
682 stars 24 forks source link

Add "clear" to Draw's .rei #33

Closed jaredly closed 7 years ago

jaredly commented 7 years ago

Must have been missed or something

Schmavery commented 7 years ago

I've been considering taking this out. What do you need it for? Edit: I did take it out. Usually in processing you use the background function to clear rather than calling clear, so I thought this might be a little confusing to people.

jaredly commented 7 years ago

Clear is just as valid though, right? On the web, for example, Clear gives you a transparent background.

Schmavery commented 7 years ago

Hmm, ok that's probably a fair point. I'm a little concerned that this will increase the difference in behaviour between native and web (in native, clear makes the screen go black), but maybe I can add it back in for now and we can see how it goes. (I'll close this and re-add it myself since there are conflicts now and it'll probably be easier for you anyway, but thanks for the feedback)

jaredly commented 7 years ago

Thanks!