{ "patcher" : { "fileversion" : 1, "rect" : [ 108.0, 74.0, 1015.0, 504.0 ], "bgcolor" : [ 0.501961, 0.501961, 0.501961, 1.0 ], "bglocked" : 0, "defrect" : [ 108.0, 74.0, 1015.0, 504.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "metadata" : [ ], "boxes" : [ { "box" : { "maxclass" : "comment", "text" : "Basic Fluid Simulation implementation , using the super cool MSAFluid for processing library .\nSource code and more info's to be found at http://www.memo.tv/msafluid_for_processing\nThe MSAFluid.jar should be placed in Cycling74/java/lib\nfluid_simulation.class/java shoud be placed in Cycling74/java/classes\n ", "linecount" : 5, "patching_rect" : [ 494.0, 2.0, 515.0, 75.0 ], "id" : "obj-3", "fontsize" : 12.0, "numinlets" : 1, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "message", "text" : "viewsource", "patching_rect" : [ 175.0, 302.0, 71.0, 18.0 ], "id" : "obj-1", "fontsize" : 12.0, "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "jit.gl.slab fluid_simulation @file cf.blur.jxs @param width 2.", "patching_rect" : [ 306.0, 393.0, 312.0, 20.0 ], "id" : "obj-34", "fontsize" : 11.595187, "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "jit_gl_texture", "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "jit.gl.videoplane fluid_simulation @scale 1.25 -0.83 1.", "patching_rect" : [ 306.0, 424.0, 284.0, 20.0 ], "id" : "obj-35", "fontsize" : 11.595187, "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "message", "text" : "0.1", "patching_rect" : [ 253.0, 172.0, 32.5, 18.0 ], "id" : "obj-30", "fontsize" : 12.0, "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "message", "text" : "0.1", "patching_rect" : [ 113.0, 171.0, 32.5, 18.0 ], "id" : "obj-29", "fontsize" : 12.0, "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "scale 0. 1. 0.001 0.1", "patching_rect" : [ 255.0, 227.0, 119.0, 20.0 ], "id" : "obj-27", "fontsize" : 12.0, "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "float" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "flonum", "patching_rect" : [ 255.0, 201.0, 72.0, 20.0 ], "id" : "obj-28", "triscale" : 0.9, "fontsize" : 11.595187, "numinlets" : 1, "numoutlets" : 2, "minimum" : 0.0, "maximum" : 1.0, "outlettype" : [ "float", "bang" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "message", "text" : "fadespeed $1", "patching_rect" : [ 254.0, 248.662048, 81.0, 18.0 ], "id" : "obj-26", "fontsize" : 11.595187, "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "flonum", "patching_rect" : [ 33.0, 201.0, 72.0, 20.0 ], "id" : "obj-22", "triscale" : 0.9, "fontsize" : 11.595187, "numinlets" : 1, "numoutlets" : 2, "minimum" : 0.0, "maximum" : 1.0, "outlettype" : [ "float", "bang" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "message", "text" : "delta $1", "patching_rect" : [ 35.0, 248.662048, 52.0, 18.0 ], "id" : "obj-21", "fontsize" : 11.595187, "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "message", "text" : "0.5", "patching_rect" : [ 34.0, 172.0, 32.5, 18.0 ], "id" : "obj-18", "fontsize" : 12.0, "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "scale 0. 1. 0.0001 0.001", "patching_rect" : [ 111.0, 226.0, 139.0, 20.0 ], "id" : "obj-17", "fontsize" : 12.0, "numinlets" : 6, "numoutlets" : 1, "outlettype" : [ "float" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "loadbang", "patching_rect" : [ 90.0, 15.0, 60.0, 20.0 ], "id" : "obj-58", "fontsize" : 12.0, "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "jit.matrix image 4 char 240 480 @interp 1 @usesrcdim 1 @srcdimstart 0 82 @srcdimend 120 2", "patching_rect" : [ 307.0, 349.0, 515.0, 20.0 ], "id" : "obj-20", "fontsize" : 12.0, "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "flonum", "patching_rect" : [ 111.0, 201.0, 72.0, 20.0 ], "id" : "obj-24", "triscale" : 0.9, "fontsize" : 11.595187, "numinlets" : 1, "numoutlets" : 2, "minimum" : 0.0, "maximum" : 1.0, "outlettype" : [ "float", "bang" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "message", "text" : "viscosity $1", "patching_rect" : [ 110.0, 248.662048, 70.0, 18.0 ], "id" : "obj-25", "fontsize" : 11.595187, "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "jit.matrix imgFluid", "patching_rect" : [ 308.0, 321.0, 104.0, 20.0 ], "id" : "obj-8", "fontsize" : 12.0, "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "qmetro 40", "patching_rect" : [ 453.0, 123.0, 65.0, 20.0 ], "id" : "obj-7", "fontsize" : 12.0, "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "jit.gl.render fluid_simulation @depth_enable 1", "patching_rect" : [ 453.0, 299.0, 254.0, 20.0 ], "id" : "obj-10", "fontsize" : 12.0, "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "t b b b erase", "patching_rect" : [ 453.0, 186.0, 77.0, 20.0 ], "id" : "obj-11", "fontsize" : 12.0, "numinlets" : 1, "numoutlets" : 4, "outlettype" : [ "bang", "bang", "bang", "erase" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "toggle", "patching_rect" : [ 453.0, 86.0, 26.0, 26.0 ], "id" : "obj-12", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "prepend mouse", "patching_rect" : [ 48.0, 391.0, 94.0, 20.0 ], "id" : "obj-6", "fontsize" : 12.0, "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "route mouse mouseidle mouseidleout", "patching_rect" : [ 48.0, 368.0, 210.0, 20.0 ], "id" : "obj-4", "fontsize" : 12.0, "numinlets" : 1, "numoutlets" : 4, "outlettype" : [ "", "", "", "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "jit.fpsgui", "patching_rect" : [ 541.0, 166.0, 80.0, 36.0 ], "id" : "obj-2", "fontsize" : 12.0, "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "mxj fluid_simulation", "patching_rect" : [ 48.0, 338.0, 115.0, 20.0 ], "id" : "obj-5", "fontsize" : 12.0, "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "", "" ], "fontname" : "Arial" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 3 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ 520.5, 294.0, 462.5, 294.0 ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-25", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-24", 0 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-27", 0 ], "destination" : [ "obj-26", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-28", 0 ], "destination" : [ "obj-27", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-58", 0 ], "destination" : [ "obj-30", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-58", 0 ], "destination" : [ "obj-29", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-58", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-22", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-29", 0 ], "destination" : [ "obj-24", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-30", 0 ], "destination" : [ "obj-28", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-58", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 1 ], "destination" : [ "obj-8", 0 ], "hidden" : 0, "midpoints" : [ 481.833344, 277.0, 317.5, 277.0 ] } } , { "patchline" : { "source" : [ "obj-11", 2 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ 501.166656, 287.0, 57.5, 287.0 ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ 57.5, 428.0, 39.0, 428.0, 39.0, 313.0, 57.5, 313.0 ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-20", 0 ], "destination" : [ "obj-34", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-34", 0 ], "destination" : [ "obj-35", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } }