aframe-point-component
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "aframe-point-component", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A Point component for A-Frame.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,19 +0,18 @@ | ||
## Point | ||
## aframe-point-component | ||
A point component for [A-Frame](https://aframe.io). | ||
A point component for [A-Frame](https://aframe.io). Creates a [THREE.Points | ||
object](https://threejs.org/docs/#Reference/Objects/Points). Points remain a | ||
point no matter the distance. | ||
Creates a THREE.Points object | ||
![Screenshot](https://cloud.githubusercontent.com/assets/674727/24059359/0ba5a1f8-0b0c-11e7-8cc3-df71ee1d673e.gif) | ||
Demo: http://naugtur.pl/aframe-point-component/ | ||
[VIEW DEMO](http://naugtur.pl/aframe-point-component/) | ||
![screenshot](screenshot.png) | ||
Yes, it's just a point. But it can remain a point no matter the distance (the 3 smallest points above are in very different distances) | ||
### API | ||
| Property | Description | Default Value | | ||
| -------- | ----------- | ------------- | | ||
| size | size of rendered point (length of rectangle edge) | 1 | | ||
| color| color definition, like in CSS | #888 | | ||
| perspective | boolean - should it scale with distance or not | false | | ||
| Property | Description | Default Value | | ||
|-------------|---------------------------------------------------|---------------| | ||
| size | size of rendered point (length of rectangle edge) | 1 | | ||
| color | color definition, like in CSS | #888 | | ||
| perspective | boolean - should it scale with distance or not | false | | ||
@@ -46,3 +45,3 @@ #### Custom Methods | ||
<title>My A-Frame Scene</title> | ||
<script src="https://aframe.io/releases/0.3.2/aframe.min.js"></script> | ||
<script src="https://aframe.io/releases/0.5.0/aframe.min.js"></script> | ||
<script src="https://unpkg.com/aframe-point-component/dist/aframe-point-component.min.js"></script> | ||
@@ -49,0 +48,0 @@ </head> |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1089041
18
13519
72
1