Skip to content

Example for using with p5.js? #15

Open
@ffd8

Description

@ffd8

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions