Skip to main content

Flow Fields and Particle Storms with p5.js

  • Chapter
  • First Online:
Coding Art

Part of the book series: Design Thinking ((DESTH))

  • 267 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://github.com/codingart-book/examples

  2. 2.

    https://codingart-book.github.io/examples/

  3. 3.

    https://github.com/processing/p5.js/wiki/Processing-transition

  4. 4.

    https://github.com/processing/p5.js/wiki/Processing-transition

  5. 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. 6.

    See https://tylerxhobbs.com/fidenza.

  7. 7.

    See https://tylerxhobbs.com/essays/2020/flow-fields.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2024 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics