bigspaceship / shine.js Goto Github PK
View Code? Open in Web Editor NEWA library for pretty shadows.
Home Page: http://bigspaceship.github.io/shine.js/
License: MIT License
A library for pretty shadows.
Home Page: http://bigspaceship.github.io/shine.js/
License: MIT License
Hi,
I'd like to know how to make the shadows correspond to gyroscope input on mobile devices, similar to how the Shine.js demo works.
Can you please help?
Thanks!
A really beautiful plugin this...
But I'm having a little trouble when applying it to a container which has (so far) 12 children to whom I want shadows to be applied. However, when called, the plugin remove 6 of these children. I couldn't find any mention of this kind of behaviour in the documentation, or an option for specifying the max number of child elements.
So I was wondering... Is this intended behaviour?
I can understand there would be performance issues if there are too many elements, but it might be useful to know that's what's happening. Or even to be able to set the max number of elements.
(I did look through the plugin's JS but couldn't spot where this might be happening. I'd be happy to try and implement an a maxElements option...)
Thanks!
How to make Shine.js work on SVG elements or Font-icons ?
On my iPad the shadows don't follow my finger touch.
What about making the light source the currently selected button or tab? If the button is hilighted like a led, it make sense making it the light source instead of the mouse cursor. It will works on touch devices too.
If I mouse around at normal speed in the demo, CPU utilization jumps to 80% - 90%. I'm using Chrome 43.0.2357.124 m on Windows 7 on a Dell E7450 Core i5 with some an integrated GPU (which is perfectly capable of handling this demo at <40% CPU).
Hi there,
I wanted to add 2 Titles with shadows one at the very top of the page and above the footer.
When I add the second one to the page with shinejs, the 1st one gets disabled for cursor movements but has soft shadows. second one gets the cursor movements.
Please suggest what I should do.
Thank you
I've tried including shine.js into my project with require, but it doesn't work. I get two errors: the first is exports is undefined
and the second is that the module returns undefined.
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.