Indeed.
.xX

On Jan 14, 2009, at 1:06 PM, vade wrote:

Hey Chris, this is very nice. thanks for sharing it :)

On Jan 14, 2009, at 3:17 PM, Christopher Wright wrote:

I've been attempting to create a flexible, "blocky" linear image gradient in QC. So far experiments with scaling the included gradient patches or importing external images aren't working out, as QC automatically applies smoothing to scaled images. Essentially, I'd like to dynamically create an arbitrarily scalable stack of "blocks" with brightnesses that continually vary from 000 to fff, such that the last block is cycled to the position of the first at each trigger pulse. The second step would be to tile these stacks into a single image, with an adjustable vertical offset between neighboring columns of stacks. I'm not much at core image or Javascript, any ideas as to how I could accomplish this?


You'll need to brush up on CoreImage (or, someone will probably provide some source or something).

There's an example of non-smoothed scaling in /Developer/Examples/ Quartz Composer/Compositions/Core Image Filters/Nearest Neighbor Sampling.qtz which will get you started perhaps.

If you want breaks, you'll need a custom filter that emits transparent regions between the rows/columns.

Colors in QC range from 0.0 to 1.0 (normalized floats) -- I imagine everyone on the list understands hex notation for it, but just a heads up for consistency :)

Ok, I've got some time -- here you go; is this what you're looking for, somewhat?

<SpacedMosaic.qtz>

--
[ christopher wright ]
[email protected]
http://kineme.net/

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/doktorp%40mac.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected] )
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/asabatelli%40apple.com

This email sent to [email protected]

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to