Skip to content

Question: Import sketch with configurations #79

Answered by ffd8
staus asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @staus – welcome and awesome the hydra examples help (so fun how it can go hydra » p5 or p5 » hydra or crazy combo of both). noo problem making an issue, it gives me the bump i needed to start the 'discussions' feature of github, since i don't use another space for discussing P5LIVE, so this will be it!

As for your questions - most definitely! you would import your custom code the same way one can use additional libraries:

let libs = [
 // 'pathToFile.js'
]

There you can have as many libraries (or just scripts) loaded as you want, which are preloaded before your sketch is. Either locally if running offline, or hosted somewhere with CORS access. You'll see an example of this in the de…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@staus
Comment options

@ffd8
Comment options

ffd8 Sep 4, 2022
Maintainer

Answer selected by ffd8
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #78 on September 04, 2022 11:43.