Vladimir Klepov
Vladimir Klepov
### Description I'm writing a CLI tool to set up linters (think `mrm`), and I need to check if configs for tools already exist, or should be created. `stylelint` and...
Currently, grafar (threejs, to be precise) explodes in runtime when a browser does not support WebGL. Even though WebGL is well supported, an error message should be shown to the...
We rely on lodash object (`import * as _ from 'lodash'`), which brings a lot of unneeded code to the project. It would be nice to either use native equivalents,...
2D panels use the same OrbitControl as 3D ones, but with fixed angle — this means that they can only be scaled, not moved around. Panning would make much more...
The orbit controls on 3d panels interfere with scrolling on mobile, as noted in the comments of the introductory [hn post](https://news.ycombinator.com/item?id=27029776). It would be great to use some less invasive...
The `/examples` folder has a ton of examples, but some are plain broken, some import grafar from the wrong place, and some are written for an older version. Moreover, some...
Three is a fat dependency with many features we don't need. Some candidates would be: - https://github.com/regl-project/regl - https://github.com/oframe/ogl - https://github.com/greggman/twgl.js - https://github.com/vaneenige/phenomenon - https://github.com/evanw/lightgl.js
Grafar uses `THREE.PerspectiveCamera` for rendering, and there is no way to override it. For some cases `OrthographicCamera` might work better. __Proposal:__ accept `{ camera: THREE.Camera }` option in `grafar.panel`, defaulting...
I've been neglecting unit tests for far too long, and now it's time to fix this. It would be cool to add plain [jest](https://jestjs.io/docs/getting-started) tests!
[Three.js](https://github.com/mrdoob/three.js) is currently at r128, while we're stuck with r81. It would be nice to upgrade for better performance and bugfixes. However, since three has probably had many breaking changes...