Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/disketteomelette/aframe-sub01
Sub01 is a pack of three components for the js framework a-frame. These components can make an object bounce, reload the scene or simulate a first-person breath on VR scene.
https://github.com/disketteomelette/aframe-sub01
a-frame aframe aframe-component aframevr threejs
Last synced: 24 days ago
JSON representation
Sub01 is a pack of three components for the js framework a-frame. These components can make an object bounce, reload the scene or simulate a first-person breath on VR scene.
- Host: GitHub
- URL: https://github.com/disketteomelette/aframe-sub01
- Owner: disketteomelette
- Created: 2023-05-21T10:21:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-21T10:32:08.000Z (over 1 year ago)
- Last Synced: 2024-11-19T23:38:02.630Z (3 months ago)
- Topics: a-frame, aframe, aframe-component, aframevr, threejs
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aframe-sub01
Sub01 is a library of 749 bytes including three useful components created for me to be used with A-frame js framework. These components can make an object bounce, reload the scene or simulate a first-person breathing animation on VR scene.
# Usage
Simply add between "head" tags and add to the needed a-frame object some of these components, and always AFTER the script call to a-frame. A well-stablished "cursor" object is needed for two of them.
# sub01-bounce
Animation on look. If the user looks to the object with this tag, the object will bounce itself. No arguments needed.
# sub01-reload
Reload on look. If the user looks to the object with this tag, the scene will be reloaded.
# sub01-breath
Animation. Adding this to the camera will make a realistic simulation of first person breathing in VR.