caseyyee / aframe-ui-widgets Goto Github PK
View Code? Open in Web Editor NEWUI widgets for A-Frame.
License: MIT License
UI widgets for A-Frame.
License: MIT License
Use animation element instead.
Button and toggle switch already do. Make it so that slider and dial does as well.
Hi!
Might I suggest two changes that would help with the stability of this project? It's a great effort, and I plan on using it more often in my work, so I'd love to give back to it! Two suggestions wrapped up in one "maintenance" topic:
Start using Github releases, so you can point to rawgit of tags, that way even if master changes/breaks, people can always have a reliable resource to link older versions of this file, and you don't have to worry because Github will host the file(s).
Start linking to unpkg for the distribution file. npm already supports versioning, and unpkg gives a reliable source of truth, whereas Rawgit (while historically stable) has _no guarantees about uptime & reliability. It'd mean changing the way the script gets compiled, I believe, because the current Unpkg link isn't usable by a vanilla JS project, but I've seen other A-Frame projects link to it like super-hands so it's certainly possible, and v reliable!
easily configurable menu.
First of all thank you very much for this amazing component. It's been of great use :D!
It's just a quick heads up to update the URL of the script. It brings a 404 error.
This would be the correct one:
https://rawgit.com/caseyyee/aframe-ui-widgets/master/dist/aframe-ui-widgets.min.js
I am interested in using this to control different things other than the animations provided. How could I control audio volume, audio speed, and thing like audio hi, mids, and lows with this instead? Also can I control aspects of video with this too?
Tracks work in https://github.com/caseyyee/aframe-ui-widgets/tree/keyboard
just to remove event listeners.
https://github.com/mayognaise/aframe-mouse-cursor-component
avoids from having to use view center-locked cursor.
Works much better for desktop and mobile (non-vr) based apps.
the demo code under "Basic usage" does not work:
core:schema:warn Unknown property rotationOffset
for component/system windows-motion-controls
.
when trying to set an event listener to a toggle-button in my own code,, like
document.querySelector('#toggleRotate').addEventListener('change', function () {
console.log("toggled");
});
i get
Uncaught TypeError: Cannot read property 'addEventListener' of null
document.querySelector('#toggleRotate') returns
as expected
But as I am just learning - may be I am doing something wrong?
And customizable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.