Skip to content

Visualizers made entirely from DOM elements and CSS3 Animations and Transforms.

Notifications You must be signed in to change notification settings

Doc2k/css-visualizer

 
 

Repository files navigation

CSS Music Visualizer

Disclaimer

All the code for this project was developed on my own and in my free-time. It's licensed under the WTFPL but a mention would be nice, @Likethemammal.

About

This is a set of visualizers that are made entirely using DOM elements and CSS3 Animations and Transforms. There is no SVG, Canvas, WebGL, or visual plug-in used. It takes quite a bit of tweaking to reduce compositing and optimize rendering layers but this is the kind of stuff CSS can do now a days.

Live Demo

(Everything you see is made from div tags!)

CSS Visualizer - Hexagon Mode

It uses Dancer.js a small Web Audio library to get spectrum and waveform data using the HTML5 audio tag.

There are currently two types of visualizer:

  • The Hexagonal one, which utilizes spectrum data and uses before and after psudeo-elements to create the six-sided shape.
  • And Bars, which projects the waveform data and uses the CSS3 transform skew to create the 3D column shape.

CSS Visualizer - Bars Mode

##Goals

It has a relatively simple UI but the plan is to connect it to the SoundCloud and Grooveshark APIs to visualizer any song from those services.

CSS Visualizer - Hexagon Mode

There are a few other visualizer ideas I'm toying with as well. As one of the restriction I've decided to only use traditional DOM elements like div, li, etc.

CSS Visualizer - Bars Mode

About

Visualizers made entirely from DOM elements and CSS3 Animations and Transforms.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.3%
  • CSS 20.3%
  • HTML 12.4%