Data Mapping

Quartz Composer Selection Rectangle Queue

PeMo's picture

I'm attempting to create a type of 'selection rectangle' using Quartz Composer, without much luck. My approach has been to use the GL Quad Patch, with X1Y1 vertex values set by mouse XY coords and a left click; I then want to store that value and then be able to resize the Quad (X3Y3 vertex) and click and set that - thus defining the rectangular selection area. X2Y2 & X4Y4 correspond to the previous two defined corners of the quad.

However - there seem to be a million ways to do this and I'm simply not sure which is best/simplest - using inbuilt patches, custom patches (e.g. Kineme data tools) or the Javascript Patch. I'd really like to be able to click and define a series of non-contiguous selections running across e.g. a graph, but am currently stumped as to how to do this. I've created a queue structure that records sampled XY coords and left clicks, but how to assign these to the correct vertices of more than one quad defeats me at the moment.

Any suggestions welcome - happy to supply more details.

Sun Spot Data Sonification

photonal's picture

The sonification of the sun spot observation data was created by parsing the data using Quartz Composer (which also provides the visual feedback). The data was also streamed into Kyma and mapped onto audio parameters.

[Data Source: http://tracer.uc3m.es/tws/TimeSeriesWeb/repo.html] utilising Kyma, Quartz Composer and OSCulator.