Open-Source JavaScript CoverFlow
Hi guys. I’m making some more of my custom components available for download today. The Apple iTunes CoverFlow effect is one the nicest forms of visualizing albums and images that I’ve seen over the past few years and I’ve always wondered..could the effect be done using JavaScript and no Flash whatsoever?. The answer is yes and I’d like to share with you my new Pure JavaScript CoverFlow component (which doesn’t rely on jQuery, YUI or any other frameworks to work!
.
The effect is made possible using the HTML5 Canvas element which takes care of all the image processing work (eg. reflections and tilts etc). I’ve seen previous implementations that use PHP to achieve this but I think a true implementation should be able to do all of this at the client side – hopefully my version lives up to that.
For readers who haven’t checked it out before, the CoverFlow includes keyboard navigation, one-click flip and tilt access to any item in the stack, a built-in lightbox for viewing higher resolution images, HTML album previews and much more.
With release 2.0.1 one of the important things that have been addressed is increased cross-browser compatibility with Google Chrome 2.0 +, FireFox 3.5 + and Safari 4.0 also now supported. The newest version of the component can be downloaded from SourceForge via the link below. Please feel free to share it and let me know what your thoughts are on it.
Screencast: Watch this component in action right here
Demo: Launch the FireFox/Chrome/Safari compatible demo here
Download: Get the sources via SourceForge
New: You can also download an alternative version of the CoverFlow done using YUI right here.
54 Comments
This is great. I might be about to take on a photography portfolio project and this might be just the thing I'm looking for. Do you know if this will work in conjunction with various jquery plugins?
Thanks very much for sharing!
This is great. I might be about to take on a photography portfolio project and this might be just the thing I'm looking for. Do you know if this will work in conjunction with various jquery plugins?
Thanks very much for sharing!
Oh yeah, and is any of the functionality affected by the size of the photos?
Oh yeah, and is any of the functionality affected by the size of the photos?
The CoverFlow is coded using pure JavaScript so if you would like to patch it up to some jQuery Plugins all you need to do is hook up the relevant functions in the Coverflow's main JS File. Hope that helps!
The CoverFlow is coded using pure JavaScript so if you would like to patch it up to some jQuery Plugins all you need to do is hook up the relevant functions in the Coverflow's main JS File. Hope that helps!
You are able to specify the width and height of the photos used. As long as they all share the same dimensions you shouldnt run into any issues.
You are able to specify the width and height of the photos used. As long as they all share the same dimensions you shouldnt run into any issues.
[...] estás buscando un script para hacer CoverFlow a tus imagenes en Javascript, sin duda este script Open Source te permitirá conseguirlo fácilmente. Aunque únicamente estará disponible para los nuevos navegadores (Google Chrome 2.0 +, FireFox [...]
[...] estás buscando un script para hacer CoverFlow a tus imagenes en Javascript, sin duda este script Open Source te permitirá conseguirlo fácilmente. Aunque únicamente estará disponible para los nuevos navegadores (Google Chrome 2.0 +, FireFox [...]
[...] estás buscando un script para hacer CoverFlow a tus imagenes en Javascript, sin duda este script Open Source te permitirá conseguirlo fácilmente. Aunque únicamente estará disponible para los nuevos navegadores (Google Chrome 2.0 +, FireFox [...]
[...] estás buscando un script para hacer CoverFlow a tus imagenes en Javascript, sin duda este script Open Source te permitirá conseguirlo fácilmente. Aunque únicamente estará disponible para los nuevos navegadores (Google Chrome 2.0 +, FireFox [...]
[...] Read more: Open-Source JavaScript CoverFlow | AddyOsmani.com | Where Web Businesses Grow [...]
[...] Read more: Open-Source JavaScript CoverFlow | AddyOsmani.com | Where Web Businesses Grow [...]
[...] Link: Open-Source JavaScript CoverFlow | Demo Categorías:HTML, Javascript, Tutoriales Etiquetas:coverflow, efectos, html5, Javascript Comentarios (0) Trackbacks (0) Deja un comentario Trackbacks [...]
[...] Link: Open-Source JavaScript CoverFlow | Demo Categorías:HTML, Javascript, Tutoriales Etiquetas:coverflow, efectos, html5, Javascript Comentarios (0) Trackbacks (0) Deja un comentario Trackbacks [...]
Thanks very much for the answers. :thumbsup:
Thanks very much for the answers. :thumbsup:
[...] Open-Source JavaScript CoverFlow | AddyOsmani.com | Where Web Businesses Grow Como hacer un coverflow con canvas y javascript. Solo para navegadores modernos por ahora. (tags: howto tutorial javascript css canvas opensource) blog comments powered by Disqus var disqus_url = 'http://dubo.cl/links-for-2009-09-26/ '; var disqus_container_id = 'disqus_thread'; var facebookXdReceiverPath = 'http://dubo.cl/wp-content/plugins/disqus-comment-system/xd_receiver.htm'; var DsqLocal = { 'trackbacks': [ ], 'trackback_url': 'http://dubo.cl/links-for-2009-09-26/trackback/' }; « links for 2009-09-24 Old Popular Yolk theme for WordPress by Joshua Goodwin var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); var pageTracker = _gat._getTracker("UA-5867128-1"); pageTracker._initData(); pageTracker._trackPageview(); [...]
[...] Open-Source JavaScript CoverFlow | AddyOsmani.com | Where Web Businesses Grow Como hacer un coverflow con canvas y javascript. Solo para navegadores modernos por ahora. (tags: howto tutorial javascript css canvas opensource) blog comments powered by Disqus var disqus_url = 'http://dubo.cl/links-for-2009-09-26/ '; var disqus_container_id = 'disqus_thread'; var facebookXdReceiverPath = 'http://dubo.cl/wp-content/plugins/disqus-comment-system/xd_receiver.htm'; var DsqLocal = { 'trackbacks': [ ], 'trackback_url': 'http://dubo.cl/links-for-2009-09-26/trackback/' }; « links for 2009-09-24 Old Popular Yolk theme for WordPress by Joshua Goodwin var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); var pageTracker = _gat._getTracker("UA-5867128-1"); pageTracker._initData(); pageTracker._trackPageview(); [...]
[...] Open-Source JavaScript CoverFlow [...]
[...] Open-Source JavaScript CoverFlow [...]
[...] Open-Source JavaScript CoverFlow [...]
[...] Open-Source JavaScript CoverFlow [...]
[...] jCoverFlow en Javascript. Ver Demostración jCoverflow. vía: anieto2k y Addi Osmani Etiquetas: canvas, chrome, coverflow, firefox, imágenes, javascript, os x, safari, [...]
[...] jCoverFlow en Javascript. Ver Demostración jCoverflow. vía: anieto2k y Addi Osmani Etiquetas: canvas, chrome, coverflow, firefox, imágenes, javascript, os x, safari, [...]
This is awesome – do you think you could move the project to a better site than sourceforge? Google Code, Github, BitBucket?
It's a pain to work in Sourceforge.
This is awesome – do you think you could move the project to a better site than sourceforge? Google Code, Github, BitBucket?
It's a pain to work in Sourceforge.
I'm glad you like it! – To get the sources from Google Code please see this entry:
http://code.google.com/p/javascript-coverflow/dow...
I'm glad you like it! – To get the sources from Google Code please see this entry:
http://code.google.com/p/javascript-coverflow/dow...
[...] estás buscando un script para hacer CoverFlow a tus imágenes en Javascript, sin duda este script Open Source te permitirá conseguirlo fácilmente. Aunque únicamente estará disponible para los nuevos navegadores (Google Chrome 2.0 +, FireFox [...]
[...] estás buscando un script para hacer CoverFlow a tus imágenes en Javascript, sin duda este script Open Source te permitirá conseguirlo fácilmente. Aunque únicamente estará disponible para los nuevos navegadores (Google Chrome 2.0 +, FireFox [...]
[...] Si estás buscando un script para hacer CoverFlow a tus imágenes en Javascript, sin duda este script Open Source te permitirá conseguirlo fácilmente. [...]
[...] Si estás buscando un script para hacer CoverFlow a tus imágenes en Javascript, sin duda este script Open Source te permitirá conseguirlo fácilmente. [...]
[...] estás buscando un script para hacer CoverFlow a tus imagenes en Javascript, sin duda este script Open Source te permitirá conseguirlo fácilmente. Aunque únicamente estará disponible para los nuevos navegadores (Google Chrome 2.0 +, FireFox [...]
[...] estás buscando un script para hacer CoverFlow a tus imagenes en Javascript, sin duda este script Open Source te permitirá conseguirlo fácilmente. Aunque únicamente estará disponible para los nuevos navegadores (Google Chrome 2.0 +, FireFox [...]
[...] so powerful that it only took me about a week to create an almost perfect clone of the Apple iTunes CoverFlow effect with the canvas element. With 3D, Vector graphics and more coming to a Browser near [...]
[...] so powerful that it only took me about a week to create an almost perfect clone of the Apple iTunes CoverFlow effect with the canvas element. With 3D, Vector graphics and more coming to a Browser near [...]
Excellent blog. I think site Navigation is pivotal in great website design!
Excellent blog. I think site Navigation is pivotal in great website design!
Disqus is commenting plug-in it is too easy to use as well as Intense Debate is going and allow developers to make a plug-ins like a Youtube video etc .I think both are too important for us.
This is really awesome. There are two things I was wondering though.
How do you add more "covers"? I tried adding some additional covers but after 13 it seems to break it.
Is it possible to loop the images?
thanks so much!
wow wow …
Wow! this was really helpful, I never thought that we could do that without using flash and with only javascript alone. Thanks a lot for sharing this information and for providing those links below. I really learned a lot from this blog entry…
Regards,
Diocelin..
Is there any way to have the coverflow automatically scroll? I'm using it for a website as a highlights reel (so-to-speak) and it'd be a neat feature if it could scroll through the images at a timed interval. Then, if someone clicks on a particular image, it'll override the auto scrolling.
looks great!
I'd like to reduce this a bit to have only the coverflow without additional info and so on, loading some holiday pictures and then using a video-screencapturing tool to record the "holiday flow". this can then be incorporated into my summer holiday video. unfortunately I am struggling a bit with the settings…
is there a documentation available, e.g. how to maintain the amount of pictures, how to resize the pictures,… to adapt the script to your needs?
Thanks a lot!
There’s going to be a brand new coverflow release coming up some time soon. Can’t wait to release it – it’s going to be much improved and a lot slimmer than this version.
Perfect!
When do you expect this will be?
Could you pls. post a link to the new version in this thread as soon as available? Then everything is available in one place!
Thanks!
I'm hopeful it'll be within the next 3 weeks. Things have been crazy at work lately so I've had to postpone some of my released my a short while. The next version of cover-flow is definitely going to be released before September. You can count on that
Yes there is. If you take a look at the coverflow.js file and look for where I've attached handlers to make the coverflow move back and forth using the keyboard, you could write a routine that utilizes similar calls as the ones in there which would loop through the image list and display an image for a set amount of time. Hope that helps!
Great!
It will be the icing on the cake when adding pictures in coverflow-style to my video! I haven't finished cutting the video itself yet, never the less I can't wait to see the new version
Will check your blog on regular base…
wansantg1zxl
Perfect!
When do you expect this will be?
Could you pls. post a link to the new version in this thread as soon as available? Then everything is available in one place!
Thanks!
[...] Open-Source JavaScript CoverFlow >> [...]