Custom Bokeh Pattern

At work I’ve been taking the proof of concept depth of field work I’ve done and iterating on it. One thing I wanted to do was have easier control over authoring and visualizing a bokeh pattern.

I decided to write a quick web page which will generate a bokeh pattern based on a couple of user supplied inputs. It will output a visualization of it and the hlsl code for it. If anyone is interested in using it the link is here:

http://www.trapzz.com/code/bokeh.html