Skip to main content

July 16, 2011 3 min read

Orange Honey; Epilogue

Orange Honey; Epilogue

The past four years (2007-2011) much of my energy and capital has been focused into building the Mugtug graphics suite; Sketchpad, Darkroom on the Wayback Machine, and Lightbox. The suite has come a long way since I developed Sketchpad during a seven month work binge of Red-Bulls! Through the collaboration of many developers we’ve moved forwards to create an entire framework that blurs the line between “web-app” and “desktop-app”…

Due to my own budgetary constraints, and differing visions within the corporation, the time has come for me to move on from Orange Honey on the Wayback Machine. The projects will continue under the direction of my good friend Charles Pritchard. He is without a doubt the most knowledgable developer I’ve worked with.

The following highlight a few of my final contributions to Mugtug; made possible with HTML5;

  • Layer Styles; this module creates effects such as InnerShadow, OuterShadow, InnerGlow, and OuterGlow.  These are similar to what Photoshop achieves, the difference is, my version has the ability to do what I’ve coined “style stacking”.  Style stacking allows the designer to add multiple fills (solid, gradient, pattern) to, for instance, InnerShadow;

Layer styles reference

Layer styles screenshot

  • SVG Parser; this module converts .svg files into <canvas> commands, accepting complex examples, supporting features from <gaussianblur> to the <use> element;

SVG parser screenshot

This is an image from OpenClipart rendered in the SVG->Canvas parser;

OpenClipart rendered in SVG parser

There is no Gaussian blur in HTML5’s <canvas>, and to do a “true” Gaussian blur takes a lot of processing, and computational time. I ended up using Mario Klingemann’s StackBlur demo on the Wayback Machine to polyfill the support in the SVG parser, the results are pretty good; I think some of the blurring wasn’t turned up enough do to my own Matrix scaling issues. Canvas left, SVG right;

Gaussian blur comparison screenshot

  • Radial Gradient; this demo shows how fun radials and gradients can be.

Radial gradient demo screenshot

  • Composite Erase; this module creates a new composite mode, allowing you to erase colors based on the color of a brush;

Composite erase demo screenshot

Brushes; this module adds some fun new brushes to play with, like galaxy (left);

Brushes demo screenshot

  • Marquee; this module creates a “magick wand” with marching ants, for selecting portions of an image, and modifying them with fills, filters, and other effects;

Marquee tool demo screenshot