New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aframe-point-component

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aframe-point-component - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

CONTRIBUTING.md

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc