Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lygia support #51

Open
patriciogonzalezvivo opened this issue Jun 20, 2024 · 4 comments
Open

Lygia support #51

patriciogonzalezvivo opened this issue Jun 20, 2024 · 4 comments

Comments

@patriciogonzalezvivo
Copy link

patriciogonzalezvivo commented Jun 20, 2024

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
Copy link
Owner

doxas commented Jun 24, 2024

@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.

@patriciogonzalezvivo
Copy link
Author

Hi @doxas, nice to meet you. Congratulations on the projects.

LYGIA is a shader library that have been integrated to different frameworks and graphic engines. One of it's goals is to reduce duplication of code by serving common and reusable functions. That makes it a great tool for fast prototyping, iterating and moving across languages or environments.

Also another use of it is just to reduce the total amount of lines of code. For all this reasons I thought would be interesting for https://twigl.app/ to add support to it.

Happy to have a video or phone call if you want. Also to assist you on the integration if you decide to go forward.

@doxas
Copy link
Owner

doxas commented Jul 12, 2024

@patriciogonzalezvivo

Thank you for your reply!
I understand your suggestions and the intentions behind them very well. I would like to try implementing them myself first, so I will let you know again if I make any progress.

@patriciogonzalezvivo
Copy link
Author

Awesome. Thank you looking into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants