Skip to content

[p5.js 2.0 Bug Report]: Unnatural behavior when executing orbitControl() on Android phones #8049

@inaridarkfox4231

Description

@inaridarkfox4231

Most appropriate sub-area of p5.js?

  • Accessibility
  • Color
  • Core/Environment/Rendering
  • Data
  • DOM
  • Events
  • Image
  • IO
  • Math
  • Typography
  • Utilities
  • WebGL
  • Build process
  • Unit testing
  • Internationalization
  • Friendly errors
  • Other (specify if possible)

p5.js version

2.0.0

Web browser and version

Chrome

Operating system

Android

Steps to reproduce this

Steps:

  1. Perform swipe rotation with orbitControl() on an Android smartphone.
  2. Then, perform a swipe outside the canvas element.
  3. If I swipe over the canvas element again, orbitControl() doesn't get executed.

Snippet:

function setup() {
  createCanvas(400, 400, WEBGL);
}

function draw() {
  background(220);
  orbitControl();
  box(100);
}

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Open for Discussion

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions