Comments (3)
hi @lmccart
what specific browser features would you like to handle? i suggest to check browser support for specific features (like touch). user agent strings are not reliable and they are difficult to maintain. we can find some inspiration from the feature detection scripts used by Modernizr : https://github.com/Modernizr/Modernizr/tree/master/feature-detects
from p5.js.
@taseenb I think @lmccart had this in mind:
For the p5.js core API, anything that is handled separately in different browsers should be automatically detected and handled appropriately, without needing any further prompting from the user, and failing gracefully where it has to.
We also had in a mind an error reporting protocol that warned the user if they were using an API call that was not handled in their current browser.
There will need to be a full sweep of the core API at some point through all the major browsers to check for these issues and come up with a compatibility table.
from p5.js.
i see! that means we should probably solve this open issue, first: https://github.com/lmccart/p5.js/issues/83
from p5.js.
Related Issues (20)
- How to change color of all circles?? HOT 2
- `nf()` produces problematic string-formatting of negative numbers
- `p5.XML.listChildren()` inserts `#text` unexpectedly HOT 7
- `p5.Framebuffer.remove()` doesn't remove some resources HOT 2
- `p5.Graphics.remove()` doesn't remove some resources HOT 6
- missing link in documentation_style_guide.md HOT 2
- Fix broken link in documentation_style_guide.md
- Should setCamera() also call resetMatrix()? HOT 6
- Suggestion of a function to get screen coordinates HOT 16
- get() and/or pixelDensity() lag since v1.8.0 HOT 1
- background with alpha unexpected behavior HOT 1
- Current status of maintenance tasks, package audits, tracking tech debt, etc HOT 2
- On Latest Version of Safari SetUniform Doesn't Update in Draw Function HOT 7
- cam.ortho() on framebuffer cameras and no args uses the size from the main canvas
- Should `createCamera` still auto-set itself as the default camera? HOT 9
- inconsistent parameter handling HOT 2
- 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
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.