Curvature of the Mind

Thoughts from a Recreational Physicist

HTML5 color eyedropper

This is an uber-simple html5 eye dropper tool that creates a json array of rgba values. It’s the format I like to use for my demos and while I have a few colorpickers installed in my browsers there wasn’t one that let me pick a bunch of colors quickly from one image and get them in the format I needed. With some quick hacking I was able to put this together in about 50 lines of Javascript. Hopefully this leads to some more color full demos in the future.

pages

  • 3D harmonic oscillator eigenfunctions
  • About
  • Images
    • 2 simple
    • atomic
    • IFS fractals: 2 transformations
    • random
  • Inspiration
  • Work
    • Atomic Orbitals
    • The surprises keep comming
    • Voronoi