Comments (3)
Welcome! ๐ Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you!
from p5.js.
I am interested in this issue you want a toggle between zoom pan and rotation you can achieve it by making an object having all properties and pass it as argument in function
from p5.js.
I am the person involved in modifying orbitControl().
Regarding rotation and zoom, this can be prevented by setting the coefficient to 0. Therefore, I feel like there is little point in making it an option, in my opinion.
Regarding pan, it does not work on mobile tphones unless you use two or more fingers. The buttons used on the mouse are also different. I don't quite understand what the problem is.
However, if there is something useful other than the freeRotation option that I have prepared, and it makes sense in terms of convenience, I will not deny its introduction.
Of course, in that case, you need to make sure that the default behavior does not change.
from p5.js.
Related Issues (20)
- Possible bug with trigonometry functions HOT 2
- getting wrong language in the console. HOT 9
- Hit detection on 2D Shapes HOT 1
- Docker implementation HOT 3
- Broken link to dev_notes.md in the documentation HOT 1
- "point" class documentation text misprint HOT 9
- p5.Vector reflect() unexpectedly modifies surface normal argument HOT 3
- [p5.js 2.0 RFC Proposal]: Pruning HOT 2
- clearDepth() example broken
- Add an easier way to disable right-click context menus on the canvas HOT 8
- [p5.js 2.0 RFC Proposal]: Promises HOT 4
- Clipping to multiline text only works with the final line
- a typo in createCanvas() reference๏ผ HOT 3
- Reference page of Quad (2D Primitives) HOT 6
- Broken link to contribution docs in the README.md HOT 1
- Slight mistake in description of scale() effect in reference HOT 3
- Broken links in README ('Learning' and 'Get Started' sections) HOT 1
- textWidth gives wrong value on setup function HOT 3
- Text-based canvas accessibility throws error on out-of-Y-bounds shapes HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p5.js.