Abstract
After taking you through the four steps and the larger example MOUNTROTHKO, it is now time to look at Processing’s younger sibling that plays the web: p5.js. In this and the next chapter, we will work on a set of new examples using p5.js and explore how we can create generative art and make use of more complex touch and sensor input for interactivity.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
- 4.
- 5.
In p5.js, you can react on orientation changes, that is, when the user rotates their phone or tablet from landscape to portrait or back. This handler is called “deviceOrientation”; see https://p5js.org/reference/#/p5/deviceOrientation.
- 6.
- 7.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2024 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature
About this chapter
Cite this chapter
Funk, M., Zhang, Y. (2024). Flow Fields and Particle Storms with p5.js. In: Coding Art. Design Thinking. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-9780-3_7
Download citation
DOI: https://doi.org/10.1007/978-1-4842-9780-3_7
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-9779-7
Online ISBN: 978-1-4842-9780-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)