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

Example for using with p5.js? #15

Open
ffd8 opened this issue Feb 22, 2024 · 0 comments
Open

Example for using with p5.js? #15

ffd8 opened this issue Feb 22, 2024 · 0 comments

Comments

@ffd8
Copy link

ffd8 commented Feb 22, 2024

Amazing project and the blend() of CSG is sooo nice!

I was trying to figure out how to integrate this with p5.js, searched and found an 'old' (from 2023) example here. However that's using v0.1.41, when using the latest v0.2.6, it returns the error createShaderPark is not defined, so I guess the API changed. Using the older version worked, however I'm sure docs have changed in the meantime. Thanks in advance for a tiny example of how one can do that similarsp = createShaderPark(()=>{) and sp.draw() if that's also still a thing. Would be amazing if that model could also accept p5.js' texture() or fill()/stroke() styling...!

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

1 participant