Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/disketteomelette/aframe-easy-slide

Component to slide an object in a scene with a linear effect and controllable speed (animation component tweak)
https://github.com/disketteomelette/aframe-easy-slide

a-frame aframe aframe-component aframevr webxr

Last synced: 13 days ago
JSON representation

Component to slide an object in a scene with a linear effect and controllable speed (animation component tweak)

Awesome Lists containing this project

README

        

# A-frame Easy Slide Component

Custom component created by DisketteOmelette (github.com/disketteomelette)

Easy Slide is an A-Frame component that allows you to easily create click-based animations for objects in your scenes. With this component you can define the target object, the destination position, and the duration of the animation. This component can be used by both cameras and any other type of entities, allowing you to physically force movement to any part of the scene based on the coordinates you provide, either smoothly or abruptly, in a linear manner.

Live demo: https://resonant-cumbersome-dingo.glitch.me/

# Schema

target: Selector for the "id" of the object to animate. I.ex.