Questions tagged [quartz-composer]

Quartz Composer is a node-based visual programming language freely available to registered Apple developers for realtime processing and rendering animated 2D and 3D graphics with JavaScript scripting.

Quartz Composer is a node-based visual programming language freely available to registered Apple developers for processing and rendering animated 2D and 3D data.

Quartz Composer uses OpenGL, OpenCL (only in Mac OS X 10.6 and later), Core Image, Core Video, Core Audio, JavaScript, and other technologies to build an API and a developer tool around a simple visual programming paradigm. It used to be part of the Xcode development environment in macOS but is now a separate download named Additional Tools for Xcode.

136 questions
0
votes
1 answer

Quartz Composer - passing value inside patch without wiring

After few years I have opened again quartz composer. I remember that there was a plugin in the library that I could send values within the patch without wiring. For example if I have a macro and I want to send a value of a number from the macro to…
SNos
  • 3,430
  • 5
  • 42
  • 92
0
votes
1 answer

Javascript counting number of times an element is repeated

I have the following code snippet in my JavaScript patch in quartz composer and need to loop in through the entire structure to find how many of each element there are and output an array of each element total. I am able to loop through the…
Shayne
  • 5
  • 2
0
votes
1 answer

Quartz Composer, loop reloading text files (Command Line Tool)

I have a .qtz that loads the last line of the latest .log file, to show the currently played song from a player. Here is the source, with 2 .log files as an example: LastTrack.zip (read the instructions inside the .zip) It works, but manually. You…
Pablo
  • 73
  • 11
0
votes
1 answer

Detecting midi controller pads in Quartz Composer

I'm trying to use the 8 pads and 8 knobs of my Akai LPD8 MIDI controller in Quartz Composer, so that I can easily control patch parameters. I have successfully mapped the 8 knobs, via a MIDI Controller Receiver patch, and the Learn Controller…
Blackbird
  • 2,368
  • 4
  • 26
  • 41
0
votes
1 answer

forKeyPath troubles with Quartz Composer and MacRuby

I am having some issues with setting values using MacRuby and Cocoa. I have the inserted the QCView and the QCPatchController into the XIB and loaded the composition into the QCPatchController. Everything is running but I cannot access the published…
tsugua
  • 197
  • 1
  • 13
0
votes
1 answer

Quartz Composer: switch video inputs with mouse

Scenario: two Quicktime movie inputs, one plays on loop unless user clicks left mouse button, in which case second movie plays until the end, then first movie plays. Logically I can see it using a conditional. If number = 1, loop movie 1. If mouse…
Andrew
  • 23
  • 4
0
votes
1 answer

XCode/Cocoa + Quartz Composer + Interface Builder woes

So, I can't seem to get this (I thought rather simple) Cocoa app working properly. I have a Quartz Composer patch which writes text files based on GUI input, then recalls the text files and displays them on a second display (ie projector.) …
capsaicin
  • 1
  • 1
0
votes
1 answer

Quartz composer - output specific number

I'm trying to achieve something quite simple in Quartz Composer. I'm not sure which patches to use. I'm used to Max/MSP, and I can't find an equivalent for doing something simple: send a number out of an output with a bang or toggle. In Max you…
RexTheRunt
  • 141
  • 1
  • 3
  • 12
0
votes
1 answer

Quartz Composer: How to make a line bend

I'm trying to make a straight vertical line which, when you drag across on the X axis, will bend a bit like an elastic band and snap back when you let go. I've made a quick image mock up of what I'm trying to do, here…
Saydn
  • 1
  • 1
0
votes
1 answer

Quartz Composer Screensaver in Xcode

My aim is to bundle a Quartz Composer file into Xcode and build a .saver file. I am currently using the Xcode pre-made template but having problems getting the screensaver to work. I am importing the .qtz file into the project and using QCView to…
AccDa
  • 145
  • 1
  • 7
0
votes
1 answer

getting values from NSTextField in objective c and xcode

How can I continuously get data from an NSTextField and do this in the background? I'm doing this because I'm using a quartz composer plugin to get posted values in an NSTextField. This is within the same app. Any ideas?? Elijah
0
votes
1 answer

Quartz Composer: How do I change the appearance of patch connection cords?

I accidentally did something and converted my connection cords/noodles/cables from bezier curves to straight lines. Is there a way to get them back? Thanks!
VJGM
  • 1
  • 1
0
votes
1 answer

Quartz Composer mouse hover and scroll

I'm really new to origami and quartz. I've only spent a few hours on it today and am still a little lost. I'm trying to show some interaction for a website in a web browser. What patch would I use to register a mouse hover on a button or window?…
user2651058
  • 29
  • 1
  • 1
  • 4
0
votes
1 answer

Embedding Movie in Quartz Composer screen saver

I am working on Quartz Composer Screen Saver, Using One animated video which i created. I used Movie Importer Patch for this. in movie location set the video location and connected the image with another patch 'Resize Image If in Preview'. the…
Zaib Khan
  • 470
  • 4
  • 7
0
votes
1 answer

quartz composer view output: How can I get immediately the new values of outputs, if they change?

I created a cocoa program with a quartz composer view. I can get the output values with: [qcView valueForOutputKey:@"Output"] But how can I get immediately the new values of outputs, if they change?
Flocked
  • 1,898
  • 2
  • 36
  • 57