10.6

Mac OS X 10.6 (Snow Leopard)

Particle Physics (Composition by dust)

Author: dust
License: MIT
Date: 2011.02.04
Compatibility: 10.6
Categories:
Required plugins:
(none)

update... added terminal velocities parameter and simplified the code down to a first order linear solve. wanted to clean things and add interactions and stuff. enjoy.

this is the euler richardson method for newtons law of motion. i figured out how to do this by reading an old true basic version of this book.

http://physics.clarku.edu/courses/125/gtcdraft/chap5.pdf

the euler richards method is more accurate than the euler cromer or euler methods when plotting a 1d simulation against some real data in respects to time + ∆t.

so i decided i would implement it for all the dimensions inside an open cl kernel.

this patch uses a mesh to initialize its start positions so with the right settings this could be used for a model explosion with time freeze type of effect if you set lets say interpolate delta time down to zero then trackball around or something? im sure there are other cool things you could do with it. more orbiting n-bidy types of things to be added soon.

right now there are some basic published inputs.

• min and max for random init of xyz velocity • ∆t or delta time steps for xyz • constant C or drag force • gravity constants for xyz • stick to boundary

Bounding Box / Mask for PixelS (Composition by benoitlahoz)

Author: benoitlahoz
License: (unknown)
Date: 2011.02.03
Compatibility: 10.6
Categories:
Required plugins:
(none)

I needed to obtain the bounding box coordinates of the PixelS plugin (actually I used the OpenCL version) result to output a mask so...

With a very little work Kineme GL Quad can be replaced by a Kineme 3D plane or whatever...

Box Blur and Color Bias (Composition by gtoledo3)

Author: gtoledo3
License: MIT
Date: 2011.01.31
Compatibility: 10.6
Categories:
Required plugins:
(none)

This is an example OpenCL kernel that creates a blur and has color control for each channel RGBA. The attached composition is packaged as an image filter protocol.

CI Normal Map_gtII (Composition by gtoledo3)

Author: gtoledo3
License: (unknown)
Date: 2011.01.24
Compatibility: 10.4, 10.5, 10.6
Categories:
Required plugins:
(none)

This is a companion to the other normal map filter, that samples from more pixels than CINormalMap_gt to make it's normal map from heightfield.

Included is another composition that makes a normal map on the fly using this filter.

CINormalMap_gt (Composition by gtoledo3)

Author: gtoledo3
License: (unknown)
Date: 2011.01.18
Compatibility: 10.4, 10.5, 10.6
Categories:
Required plugins:
(none)

This is a core image filter that takes a greyscale heightfield (bump map) image, and outputs a normal map, in the style of nVidia Normal Map Filter plugin for photoshop, or NMG.

This allows one to create greyscale imagery in Quartz Composer, run image through this filter, and generate normals that can be rendered in the GLSL shader. This example uses Christopher Wright's Normal Map 1.qtz as a rendering destination, to show how it works.

Normal mapping is used to fake the appearance of a higher poly mesh than is actually being used when using GL Lighting.

http://en.wikipedia.org/wiki/Normal_mapping

Metaball 2.5D (Composition by gtoledo3)

Author: gtoledo3
License: (unknown)
Date: 2011.01.17
Compatibility: 10.5, 10.6
Categories:
Required plugins:
(none)

This is a kind of metaball implementation. I've done an in depth breakdown of the process @ http://www.georgetoledo.com/2011/01/meta-ballers.html

OpenCL Morph / LERP (Composition by gtoledo3)

Author: gtoledo3
License: (unknown)
Date: 2011.01.17
Compatibility: 10.6
Categories:
Required plugins:
(none)

I've only included two models for the sake of kineme bandwidth.

This does a morph between two objects of the same structure size, using the OpenCL kernel.

JavaQCView (Composition by dust)

Author: dust
License: MIT
Date: 2011.01.16
Compatibility: 10.6
Categories:
Required plugins:
(none)

this isn't really a composition its basically a java jni lib to render quartz composer in java. eventually i will have the messaging system working so you can send messages back and forth from qc to java....

right now it just loads a qc comp from the repo and displays it in java. the principles are derived from a deprecated apple dev example "qc cocoa component" circa 2005.

even though this builds a binary java app, i don't see why the lib couldn't be used in processing to display a qc comp.

don't know if the helps anybody but i certainly like being able to load a qc comp in java. the next step is to get published inputs and outputs working.

XY plot from key presses (Composition by jstrecker)

Author: jstrecker
License: (unknown)
Date: 2011.01.15
Compatibility: 10.5, 10.6
Categories:
Required plugins:
(none)

A simple example that uses Kineme ChartTools to plot a point on an XY graph every time the user presses the up or down key.

cl depth blob tracking with kinect (Composition by dust)

Author: dust
License: MIT
Date: 2011.01.10
Compatibility: 10.6
Categories:
Required plugins:
(none)

this patch uses open cl to derive monochrome pixel blob structure from the a kinect depth camera image or any other blob image for that matter. i'm doing a quick and dirty blob size calculation. see comments for explanation.

there is a variable blob image resolution that will enable you get much faster track but at the expense of accuracy. so you might want to play with that operand if you want a faster track.

there are some xy offsets to offset the blob from center if you want as well as variable depth input so you can track from the kinect at different depths.

the rgb mask and depth image is calibrated to my right hand you will see a red overlay of the blob image in red even though i'm using white to track.