vusd / p5bot

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

Cross Site Request Problems #8

Closed jpdenford closed 6 months ago

jpdenford commented 7 years ago

A major issue I have encountered has been CORS restrictions in the browser. While it is essential to have visual feedback when creating image-based artifacts the API restrictions were a nightmare. A possible solution could be to develop the visual side in p5 in the browser but then migrate it to nodeJS for the rest of the core functionality? Not sure of the details of this but nodeJS seems like a great choice with all js code working fine (except for the lack of a DOM).