Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/disketteomelette/aframe-light-switch
A light switch for a-frame.
https://github.com/disketteomelette/aframe-light-switch
a-frame aframe aframe-component aframevr webxr
Last synced: 2 months ago
JSON representation
A light switch for a-frame.
- Host: GitHub
- URL: https://github.com/disketteomelette/aframe-light-switch
- Owner: disketteomelette
- Created: 2023-06-24T11:29:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-22T08:13:58.000Z (2 months ago)
- Last Synced: 2024-10-23T11:53:07.440Z (2 months ago)
- Topics: a-frame, aframe, aframe-component, aframevr, webxr
- Language: HTML
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aframe-light-switch
A light switch for a-frame /// This is a simple and customizable component for the A-Frame library that adjusts the intensity of one or all elements in a scene using clickable objects. It provides a straightforward schema where the clickable object references the "set-light" component. Within this component, users can specify the desired intensity value using the "intensity" parameter. Additionally, the "lights" parameter allows you to select the lights to be affected by the action. You can choose to modify all lights in the scene (by leaving the parameter empty), a specific light or multiple lights by separating their IDs with commas.See live demo: https://honorable-round-cacao.glitch.me/
Example:
[...]