Ho to make an app that you can swipe between p5.js sketches?


I'm just wondering if this can be done and if so how I might go about it. I have made 18 separate p5.js sketches, animations & interactions on each screen. I would like to have a loading screen to load all the assets before it starts (at the moment all the assets are within each p5.js sketch), once it loads I want the user to be able to swipe to go to the next sketch (or back to the previous) and once at the end press a button to go back to the start. I have limited knowledge of html and css (not afraid to learn though!). What way would I go about doing this? Any advice / direction would be much appreciated, thank you in advance!


Sign In or Register to comment.