Skip to content

Visualizing rotation of the RGB color space to calculate HSV

License

Notifications You must be signed in to change notification settings

nathandao/rgb-rotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rgb-rotation

An attempt to visualize how Hue is calculated from RGB.

rgb rotation

Usage

Run lein figwheel in your terminal. Wait for a while until you see Successfully compiled "resources/public/js/main.js".

Open localhost:3449 in your browser.

Build

Run

lein do clean, cljsbuild once optimized

This will compile your code and run Google Closure Compiler with advanced optimizations. Take resources/public/index.html and resources/public/js/main.js and upload them to server of your choice.

Task list

  • Animate matrix rotation with top projection
  • Add color input & animation controls
  • Draw the input color's hexagon
  • Display rotation matrix used for each step

License

MIT © Nathan Dao

About

Visualizing rotation of the RGB color space to calculate HSV

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published