Image slicer in OpenFrameworks