Git Product home page Git Product logo

shine.js's People

Contributors

benjaminbojko avatar kkirsche avatar rrrene avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

shine.js's Issues

High CPU utilization - 80%+

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).

Does not work on touch devices (ie. iPad)

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.

How to add mutiple text with Shinejs

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

Removes elements from the DOM

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!

Doesn't work with transparent images.

Hi,

Amazing plugin. I love it. When i am using it on png image, shadow is not considering transparent pixels. Please see attached screenshot. (In screenshot i have used transparent circle.). Is it possible to consider transparent pixels in png images?

circle

Doesn't work with Require.js?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.