ipad

Turn Table (Composition by dust)

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

here is a turntable that i have been using to interface my ipad with qc.

http://pelican.asap.um.maine.edu/~oconnordw/vid/turnTable.mov

im keeping the pad interface private for now but i have included a cocoa application bundle with cross faders, knobs, and decks made from qc files. i don't know use to dj use it to vj... eventually it will get mapped to popular dj software.

so i was having some trouble trying to get a turntable to work a while ago... but finally figured out a working solution to the qc screen context. so thank you chris for helping me. i was trying to do the cos(x) sin(y) methods i do to draw circles but rotation is in radians and not degrees. eventually i figured it was best to use theta like chris told me with a sqr root function.

i found atan2(x,y)+M_PI worked the same on half the record. eventually i figured adding 360 to -180... -179...178....->0º with just one conditional statement works perfect. i can't believe how ugly my cos and sin methods where... i had to use all kinds of logic and even then there wasn't a smooth interaction.

now everything is beautiful....

this is the reason why i'm building the turntables is because.

this is so much fun.....

http://pelican.asap.um.maine.edu/~oconnordw/vid/ipapTurnTablIZM.mov

even my two year old can do it...

http://pelican.asap.um.maine.edu/~oconnordw/vid/iPadDJ.mov

iPad2QC->OSC Multi-Touch Accelerometer (Composition by dust)

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

here is a patch that sends multi-touch and accelerometer iPad events to quartz composer.

version 2....

port [6666]

i simplified the touch structure. rather than having all touches in one structure. i choose to split them apart.

they are...

/touch/1/ "0" x1 location in pixels "1" y1 location in pixels "2" x1 previos location in pixels "3" y1 previos location in pixels

/touch/2/ "0" x2 location in pixels "1" y2 location in pixels "2" x2 previos location in pixels "3" y2 previos location in pixels

/touch/3/ "0" x3 location in pixels "1" y3 location in pixels "2" x3 previos location in pixels "3" y3 previos location in pixels

/touch/4/ "0" x4 location in pixels "1" y4 location in pixels "2" x4 previos location in pixels "3" y4 previos location in pixels

/touch/5/ "0" x5 location in pixels "1" y5 location in pixels "2" x5 previos location in pixels "3" y5 previos location in pixels

4 tap to bring up UI text input for ip... this can be increased to insure no false hits. enter sets ip.

run mtoscpad.qtz to make sure everything is working.

if you want to visualize the particles on the ipad un-comment all emitters in side the touches moved event.

they look like this. there is a bunch.. //[self addChild: emitter z:0];

ipad osc qc controller

dust's picture

here is an app... i think people might want to use with their ipad. at least i have been making some use with it. its just a simple multi-touch accelerometer osc controller. there doesn't seem to be one available for download yet. so i made one... i'm thinking about going open source with it. i would love to publish it just like it is so i can use it and or download it.

it just sucks that you pay for a developer account you build a bunch of apps for personal use and once your provisioning profile dies a year later you can't run any of the apps that you made and payed to be able to build. so now knowing this i want to deploy my iPad apps so i can use them myself. the problem is that most of my apps are only useful to my projects. anybody have any thoughts on this subject.

http://pelican.asap.um.maine.edu/~oconnordw/vid/padQC.mov

here is an app running on the table.

http://pelican.asap.um.maine.edu/~oconnordw/vid/cardFlip.mov

i have some other ipad apps that work with qc but can't really show at the moment... but if you will be at the mapping festival in geneva next week you can see an early beta of a native ipad vj app i made the other day.

iPad

dust's picture

so just a general iPad topic... i went to the computer store today to check the iPad out. its so much cooler than i thought it was going to be. i was bummed out no snow leopard etc... but given the exponential rate at which processors are growing in two years from now one would think that the iPad could do what QC4 does today but in two years QC will be at 5 or 6 and probably still not run.

lol

but given that logic that would mean we could run qc2 now. defiantly a must i think is qc in the tablet and phone forum. regardless of the lack of quartz composer all the other mobile PC computers and laptops in the computer store just looked archaic next to the pad regardless of how big you can make a laptop screen and how fast nvidia chips are on pc, aesthetically there is no comparison.