Skip to content

jedp/The-Elements

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Elements

The song by Tom Lehrer, with the periodic table humming along.

My 7-year-old daughter has become obsessed with this song. While she was at school and I was home sick, I put this together to help us memorize the complete lyrics.

This is attempt at using the audio API. I've totally cribbed off of supersynth.

Here's a screenshot of the program in action:

Screenshot

Controls

You can control it with:

  • Left arrow: back a bit
  • Right arrow: forward a bit
  • Up arrow: faster
  • Down arrow: slower
  • Space: pause or play

To Use

The auido works in Firefox and Chrome (if you have audio extensions enabled).

Using Node.JS and NPM, you can:

  • git clone the project
  • cd The-Elements
  • npm install (this one time only)
  • node server.js

Now go to localhost:3000 in your browser.

Node.JS isn't necessary. You just need to serve the contents of public as a root directory somehow. (If you prefer to do this with Apache or nginx, please send me a pull request with your config!)

Dependencies

To Do

  • Color-code sections of periodic table
  • Disco light dancing during interludes

About

Periodic table plays along with Tom Lehrer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published