Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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:




[...]