doxas / twigl

twigl.app is an online editor for One tweet shader, with gif generator and sound shader, and broadcast live coding.
https://twigl.app/
MIT License
802 stars 50 forks source link

Lygia support #51

Open patriciogonzalezvivo opened 1 week ago

patriciogonzalezvivo commented 1 week ago

Hi! Would you be interested on bringing support for lygia.xyz?

Using include macros like

#include "lygia/math/const.glsl"
#include "lygia/color/space.glsl"

it will help users to keep their code extra short.

There is several ways to full fill those dependencies, the easiest is through this functions that just fetch them for you https://lygia.xyz/resolve.js

You code editor can even autocomplete their functions using this request https://lygia.xyz/glsl.json

doxas commented 5 days ago

@patriciogonzalezvivo

I apologize for the delayed response. Thank you for your proposal. I am very pleased to receive such a suggestion.

Before considering implementation, could you please explain why you are making this proposal at this time and what kind of demand you believe exists for it? I believe that I can make a more concrete evaluation if I understand the use cases you have in mind.