错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Making Sense of Touch and Sensors with p5.js

  • Mathias Funk,
  • Yu Zhang

摘要

Moving from Processing to p5.js enables not only a wider reach by being able to put your sketches on the web and make them accessible to a potentially huge audience. It also means that your sketches can run on mobile devices such as tablets and phones. This is more than being able to carry your creative work around; tablets and phones have built-in sensors and interaction capabilities that you would not easily find on a desktop computer. In this chapter, we will focus on multi-touch input and accessing sensors that provide us with data about acceleration and rotation. And, of course, we will use this in a creative way.