https://github.com/johncoene/apoint
📦 Points for aframer
https://github.com/johncoene/apoint
a-frame rstats
Last synced: about 1 year ago
JSON representation
📦 Points for aframer
- Host: GitHub
- URL: https://github.com/johncoene/apoint
- Owner: JohnCoene
- License: other
- Created: 2018-08-24T09:19:16.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-24T10:07:36.000Z (almost 8 years ago)
- Last Synced: 2025-01-26T14:48:40.647Z (over 1 year ago)
- Topics: a-frame, rstats
- Language: JavaScript
- Homepage: https://apoint.john-coene.com
- Size: 604 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# apoint
Point component for [aframer](https://aframer.john-coene.com/)
## Installation
``` r
# install.packages("devtools")
devtools::install_github("JohnCoene/apoint")
```
## Example
``` r
library(aframer)
library(apoint)
browse_aframe(
a_scene(
a_dependency(),
apoint_dependency(),
a_point(5, color = "blue", perspective = FALSE, position = "0 1 -200"),
a_point(5, color = "red", perspective = FALSE, position = "5 0 -250"),
a_point(2, color = "black", perspective = FALSE, position = "-7 3 -100")
)
)
```