vusd / p5bot

p5.js twitterbot
https://twitter.com/vusd_mddn342_16
0 stars 2 forks source link

Added support for WebGL renderers #2

Closed troughton closed 8 years ago

troughton commented 8 years ago

In this branch, I added the ability for the bot to select its preferred renderer so that applets using WebGL can run.

dribnet commented 8 years ago

Thanks for this. It was a very clean implementation and backwards compatible, so I went ahead and merged it in after some testing. This is now live in production.

I liked how you made the call optional, and so in a subsequent commit (59832df4) I also extended this pattern to most of the rest of the API.