Fantastick holidays..!

jusu's icon

Hi,

Here's a little present to any FS users:

Merry xmas! :)

j

donkey's icon

hello jusu,

i did not get it to work ...
i opend then FantastickArea.maxpat and
clicked the messabes from top to bottom
one after another.

i am very interested, what should happen :-)

the MMF-Fantastick_iPad_template works fine.
d.

jusu's icon

hello Donkey,

Nice to see someone tried :)

There are no flying santas or jingle-bells in this one. If you touch the device and see circles, it works.
(note that you need to have the fs help file with the connection block open, and fs version 2.3 or later)

The meat of the matter is the "area 1" command. It extends the data you receive about touches.

Try it: touch the screen with your fingertip. Then press your finger down, touching the screen with your full finger area. See the difference?

Isn't it nice?

Best,

j

Kasper's icon

hi

indeed it's nice - well, i managed to make bigger or smaller circles depending of the "pressure" (maybe it is not pressure, but anyhow, it works)

using the aka.datagram I was able to have the values back on my computer - if I understand well, X (0 or 1) means touching the surface, then M is the first finger, then B then E ?????

for each of them, a list of 4 numbers, being X, y, fingerNumber an the pressure, right?

*********

now if you could explain a little more the patch you use for making this, would be great - it's javascript i guess, and I don't understand it. For one thing, how to ask for only 5 circles (which is the max on an iPhone, when the iPad supports 11)?

many thanks for Fantastick!!

kasper

donkey's icon

hello jusu,

i just recognized, that i am on version 2.2
i tryed to update the app on my iphone to 3.2 using the itunes appstore.

the update failed ...
it seems that the app is not availible anymore :-(

its a pity.
d.

jusu's icon

Kasper: yes, and B M and E are for begin, mode and end respectively, describing the touch type during the touch "lifetime".

If you check the connection patch in help file, it explains the finger data, but you essentially got it already.

The Javascript is described in this patch: http://pinktwins.com/fantastick/FantastickJS.maxpat
It has all the info on what FS supports, the rest is just javascript. You should really understand js to use it though.

Donkey: That's strange, I can see FS on the App Store just fine. Which country are you using?

Best,

j

Kasper's icon

I have the latest version, but just out of curiosity checked the app store (in France) and, yes, here too, even if you can SEE Fantastick, you can not buy it (they say something about the page being somewhere else....)

best

kasper

donkey's icon

i am in germany.
it is like kaspar says, you can see the fantastick app as usual in the store.
but if you klick "buy" or "update" you get something like this:
the application is not availible anymore.
d.

jusu's icon

Ok, this is about not renewing my developer membership in time. *sigh*
I'm on it, and it should be updatable in a day or (max) two.

cheers
j

jusu's icon

Should be available again.

cheers

j

donkey's icon

the app store is working again, great.

now i am on version 2.3
but still nothing is happening on my iphone 4g,
if i try to load FantastickArea.maxpat :-(

d.

jusu's icon

Hey, do you have the help patch (http://pinktwins.com/fantastick/FantaStickv2.3-help.maxpat) open as well? It handles the connection to your phone.

1. open that help patch, and FantastickArea.maxpat
2. launch FS

?

j

Mathieu Chamagne's icon

MMF-FS now supports 'touch area' messages from Fantastick, and includes a couple of example interfaces that use this wonderful new feature :-)

please give it a try !

Mathieu

donkey's icon

thanks for your patience jusu !
now it works, great :-)

also a big thank to Mathieu.
i just loaded your iphone demo interfaces.

some of them are working, some not.
if i open the interface examples, i get the following errors at the max window:

pattr: (u046003661): failed to bind to target (parent::waveform2::presentation_rect)
pattr: (u846003631): failed to bind to target (parent::waveform2::waveformcolor)
pattr: (u035003667): failed to bind to target (parent::waveform2::selectioncolor)
pattr: (u029003622): failed to bind to target (parent::waveform2::chanoffset)
pattr: (u795003664): failed to bind to target (parent::waveform2::buffername)

donkey's icon

and a second question to Mathieu.

i want to upload an image to the iphone.
i do not get the the description. you are writing:

copy the file displayed in fpic object in your web server /images directory.
(MMF-imageTest.png)

i dont know, which webserver you are talking about.
on my computer, on the iphone ?

thanks in advace,
d.

Mathieu Chamagne's icon

donkey :
ups.. looks like I forgot to update the iPhone example patch :-s
(the messages for mmf.waveform~ abstraction have changed since previous version..)

please open iPad example patch to test waveform~, Nodes and touch area examples.

about fpic : you must configure a web server on your computer (have a look in mmf [preferences] patcher.
the files in you shared folder (on a mac : ~user/Sites) should be available for Fantastick on you iDevice.
the file used in your fpic in your patch should be copied in this shared folder.

Mathieu

tomnambule's icon

Hi Mathieu !

I've tried this nice upgrade of MMF-fantastick. Thanks a lot ! Amazing work.

But something looks wrong (?) : each nodes position (x,y), size and state (active or not) should come out the middle outlet of the object. As we didn't "click" the node but "touch" it via the iDevice, all those values didn't come out.... It's a shame because those values are very usefull ! I didn't find a way to simulate the node clicking ... any ideas ??

Thomas

tomnambule's icon

...i get out of my ignorance...
Sending with a "metro object" the "getnode 0" message to the "nodes" object gives us the values of each nodes (position, size and active/not active), depending on the time interval set in the metro.

Thomas

Mathieu Chamagne's icon
Max Patch
Copy patch and select New From Clipboard in Max.

about Nodes middle outlet :
it doesn't seem possible to make a Nodes output the states of the nodes from its middle output without clicking on the UI or sending a message to it's leftmost input. (AFAIK, no way using pattr ...)
but you can observe the state of the nodes (lists of x, y, sizes) with pattr objects bind to xplace yplace and nsize attributes :

Mathieu

tomnambule's icon

Ohhh, thanks ! :-))
Thomas

tomnambule's icon

Something I didn't understand : when i put the pattr objects bind to xplace yplace and nsize attributes, and then bang my interface, the nodes fly away from my iDevice (but stay fixed in the object). As i delete the pattr objects, the nodes come back to the iDev without banging...
I might be wrong, but don't know how... Any suggestions ?
Thanks
Thomas

Mathieu Chamagne's icon

you're right :
when a pattr is at the same level in the patch, the Nodes object is not drawn correctly in Fantastick ; it's because pattrstorage doesn't 'see' the Nodes object when a pattr bound to an object's attribute is present in the same patch.
so I'm afraid that there's nothing I can do for it :-s

Max Patch
Copy patch and select New From Clipboard in Max.

but as a workaround, if your move your pattr is in a sub patcher, or anywhere else in your patch, it seems to work fine :

Mathieu

tomnambule's icon

ok, works fine in this way.
Thanks a lot for the trick !
Thomas