aframevr / a-painter Goto Github PK
View Code? Open in Web Editor NEWπ¨ Paint in VR in your browser.
Home Page: https://aframe.io/a-painter/
License: MIT License
π¨ Paint in VR in your browser.
Home Page: https://aframe.io/a-painter/
License: MIT License
Setup aframe script src to a proper one
If there's not a good reason I would consolidate everything on a single object
Progress bar and some message saying SAVING...
Different stroke classes:
To get rid of the warning:
THREE.WebGLRenderer: image is not power of two (1324x507). Resized to 1024x512
Higher frecuency vibrations for smaller brushes, lower for bigger brushes
I can fix it in photoshop, but maybe there's a flag by code that can pre-post multiply the alpha to the color and fix it?
A nice feature would be a picker, that by raycasting you can pick any stroke and get all its brush properties (size, color and type).
The schema states a min: 0.0 and max: 1.0. The values in the interval all set very big brushes. We have to either introduce a correction factor somewhere in the brush logic or change the schema to reflect a better scale.
use models/controller.obj
If a raycast is implemented on the whole painting (as for the picker suggested in #72 ), a stroke eraser could be added to.
When using a non-symmetrical or irregular brush, it's odd that outwards strokes done with both hands have different orientation. If you look at the horizontal strokes in this example, started from the center:
one would expect that the strokes would be symmetrical in y-axis instead of rotated 180ΒΊ.
The solution would be to mirror v (or u? :D) coordinates in left hand strokes.
...when loading the UI for the first time
Maybe it's related to the transparency and alpha similar to this one: https://github.com/fernandojsg/a-painter/issues/52
/cc @feiss
When you get to the end of the buffer, start deleting the first ones?
Support for
core:schema:warn Unknown property
handfor component/system
tracked-controls. +0ms browser.js:112core:schema:warn Unknown property
handfor component/system
tracked-controls. +1ms
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.