Indexed by TopGit from live GitHub metadata: aframevr/a-painter has 696 stars, written primarily in JavaScript. 🎨 Paint in VR in your browser.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
To create a new brush, implement the following interface:
BrushInterface.prototype = {
init: function () {},
addPoint: function (position, orientation, pointerPosition, pressure, timestamp) {},
tick: function (timeOffset, delta) {}
};
init (): Use this for initializing variables, materials, etc. for your brush.
addPoint (Mandatory): It will be called every time the brush should add a new point to the stroke. You should return true if you've added something to the scene and false otherwise. To add some mesh to the scene, every brush has an injected object3D attribute that can be used to add children to the scene.
position (vector3): Controller position.
orientation (quaternion): Controller orientation.
pointerPosition (vector3): Position of the pointer where the brush should start painting.
pressure (float[0..1]): Trigger pressure.
timestamp (int): Elapsed milliseconds since the starting of A-Painter.
tick (Optional): Is called on every frame.
timeOffset (int): Elapsed milliseconds since the starting of A-Painter.
delta (int): Delta time in milliseconds since the last frame.
Development Tip: set your brush as the default brush at the top of
src/components/brush.js (brush: {default: 'yourbrush'}) while developing so
you don't have to re-select it every time you reload.
Common Data
Every brush will have some common data injected with the following default values:
The most recent commit recorded on aframevr/a-painter was 2.4 years ago, based on the GitHub push timestamp. The repository has 204 forks — one of the better signals of community interest.
How many stars does aframevr/a-painter have?
aframevr/a-painter has 696 GitHub stars — refresh the page for the live number, or check github.com/aframevr/a-painter. TopGit mirrors GitHub's count but does not claim minute-by-minute accuracy.
What is aframevr/a-painter?
aframevr/a-painter (aframevr/a-painter) is a JavaScript project on GitHub. From the project's own README: 🎨 Paint in VR in your browser.
What language is aframevr/a-painter written in?
aframevr/a-painter is written primarily in JavaScript. GitHub's language field is based on the largest share of bytes in the default branch.
What topics is aframevr/a-painter associated with?
GitHub's repository topics for aframevr/a-painter: "aframe", "threejs", "virtual-reality", "virtualreality", "vr", "webvr", "webxr". TopGit's editorial category is open-source.
Read full README in the tab above.
Want a second opinion on a-painter?
Ask an AI that can read this page — one click and you get its take on a-painter.