Vanilla Extract

Presented by Ivan Chwalik

    Welcome!
    I wanted to create a small space where I could enjoy the fun that are HTML Canvases.

    There will be no libraries here.
    Nothing but clean cut Javascript doing its thing to draw bits on maps.

    Link to code:
    https://github.com/ivan-the-terrible/ivan-the-terrible.github.io
  

I'll do my best to support mobile, but meh. Mouse events and touch events are the devil.

Color Venn Diagrams

      So the idea with this one was to create something to visualize the additive color phenomen
      AND sneak in a mathematical proof too.

      You have 3 circles (red, green, and blue) that you can move around and upon overlap see the additive color.

      Since we are overlapping circles to create lenses, I used Paul Bourke's proof.
      When 3 circles overlap, it creates a subset of the Reuleaux Triangle that you'll see as white.
    

DISCLAIMER: Moving the circles to intersect at certain angles break how the colors work, but for the most part this works.

RGB Color Input of Active Circle

Red

255

Green

0

Blue

0

Result

NOTE: Resizing window will reset the canvas.