dogfuntom / GenCExpo

🥔 Expo of p5.js works of the members of GenClub (open Russian Telegram group of generative art beginners) 🙀
https://dogfuntom.github.io/GenCExpo/
MIT License
0 stars 0 forks source link

Automate/simplify adding p5.js exhibits a bit #1

Closed dogfuntom closed 3 years ago

dogfuntom commented 4 years ago

Fully polishing this is hard but there must be some low-hanging fruits.

dogfuntom commented 4 years ago

https://github.com/DrSensor/p5-global2instance

dogfuntom commented 4 years ago

Tried the p5-global2instance. It becomes confused if advanced stuff is used but overall quite good. Useful for simple but long code or for porting many small works in one go.

The first line has to be changed from a node.js module to a plain old variable but it's a very minor bit of manual work. After this change, it should work but I didn't try it yet.

dogfuntom commented 3 years ago

The workflow is far from fully automated but adding a single work is already neither hard nor significantly time-consuming, so good enough for now.