<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[X position and Y position help with Fiducial and ReacTIVision]]></title><description><![CDATA[<p>Hi everyone!<br />
I'm really new to pd. I'm learning at my university and I have to make a project using fiducial and ReacTIVision. In pd I want to put 4 or 5 pictures in different positions, the opacity would be 0% and if I move the Fiducial the picture which is closest to the fiducial will get filled (the opacity would change to 100% if the fiducial is nearby). I tried to make it with a text, but it only worked from the half and only on the x axis.<br />
Could anyone help me with this, because I really don't know how to do it! <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/frowning.png" title=":(" alt=":(" /><br />
I saw that I should use conditional logic but I don't know how...<br />
Thanks for your help and sorry for my bad english!(<img src="/uploads/files/1556293979072-help.jpg" alt="help.jpg" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12024/x-position-and-y-position-help-with-fiducial-and-reactivision</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 07:38:35 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/12024.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 26 Apr 2019 15:55:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to X position and Y position help with Fiducial and ReacTIVision on Fri, 26 Apr 2019 15:55:09 GMT]]></title><description><![CDATA[<p>Hi everyone!<br />
I'm really new to pd. I'm learning at my university and I have to make a project using fiducial and ReacTIVision. In pd I want to put 4 or 5 pictures in different positions, the opacity would be 0% and if I move the Fiducial the picture which is closest to the fiducial will get filled (the opacity would change to 100% if the fiducial is nearby). I tried to make it with a text, but it only worked from the half and only on the x axis.<br />
Could anyone help me with this, because I really don't know how to do it! <img class="emoji emoji-extended" src="http://forum.pdpatchrepo.info/plugins/nodebb-plugin-emoji-extended/images/frowning.png" title=":(" alt=":(" /><br />
I saw that I should use conditional logic but I don't know how...<br />
Thanks for your help and sorry for my bad english!(<img src="/uploads/files/1556293979072-help.jpg" alt="help.jpg" class="img-responsive img-markdown" /></p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12024/x-position-and-y-position-help-with-fiducial-and-reactivision</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12024/x-position-and-y-position-help-with-fiducial-and-reactivision</guid><dc:creator><![CDATA[Vanilleaya]]></dc:creator><pubDate>Fri, 26 Apr 2019 15:55:09 GMT</pubDate></item><item><title><![CDATA[Reply to X position and Y position help with Fiducial and ReacTIVision on Fri, 26 Apr 2019 20:51:16 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/vanilleaya">@Vanilleaya</a> A long long long time ago I played around with it.<br />
So it will take me a while to absorb what you want to do, and to remember how it works.</p>
<p>Here is a patch that works ..... moves a square in GEM...... <a href="/uploads/files/1556306020661-simple.pd">simple.pd</a>   which I think should work even in vanilla.<br />
I have stripped it down from another patch, which I built in a hurry trying to help someone smooth the data.<br />
That patch has disappeared from the Forum back when &quot;disk full&quot; errors were causing problems on the server.<br />
Here it is....... <a href="/uploads/files/1556306429456-stable_comic_drones.zip">stable_comic_drones.zip</a><br />
It needs &quot;extended&quot; or quite a few libraries installed to Vanilla through Deken.  It works much better though.</p>
<p>It will get the position of the fiducial and show it as a square in the GEM window.<br />
Compare the fiducial position xy data that I have going into [translate XYZ] in my patch......... to the picture position data that you will put into the [translate XYZ] for each of your pictures....... to work out how close it is.</p>
<p>I hope it helps.<br />
If it does, then get as far as you can with it and come back for more help if you are stuck.<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12024/x-position-and-y-position-help-with-fiducial-and-reactivision/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12024/x-position-and-y-position-help-with-fiducial-and-reactivision/2</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Fri, 26 Apr 2019 20:51:16 GMT</pubDate></item><item><title><![CDATA[Reply to X position and Y position help with Fiducial and ReacTIVision on Sat, 27 Apr 2019 11:12:32 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/vanilleaya">@Vanilleaya</a> somehow you need to process the data coming from [tuioclient] further. Now you route and unpack, but also you also need to scale the numbers so that what comes out of tuio matches the gem dimensions and calculate the distance of your objects.<br />
see: <a href="https://www.mathopenref.com/coorddist.html" rel="nofollow">https://www.mathopenref.com/coorddist.html</a> for distance caculation.<br />
Maybe that is allready apliable from Davids patches.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12024/x-position-and-y-position-help-with-fiducial-and-reactivision/3</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12024/x-position-and-y-position-help-with-fiducial-and-reactivision/3</guid><dc:creator><![CDATA[Johnny Mauser]]></dc:creator><pubDate>Sat, 27 Apr 2019 11:12:32 GMT</pubDate></item><item><title><![CDATA[Reply to X position and Y position help with Fiducial and ReacTIVision on Sat, 27 Apr 2019 11:48:16 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-a" href="http://forum.pdpatchrepo.info/user/johnny-mauser">@Johnny-Mauser</a> Yes, my patch scales the fiducial position to the Gem window, but your link is great for calculating the proximity.<br />
The A and B coordinates will be (x,y) for the fiducial(A) and (x,y) for the picture(B) as they are fed into each [translateXYZ].<br />
David.</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12024/x-position-and-y-position-help-with-fiducial-and-reactivision/4</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12024/x-position-and-y-position-help-with-fiducial-and-reactivision/4</guid><dc:creator><![CDATA[whale-av]]></dc:creator><pubDate>Sat, 27 Apr 2019 11:48:16 GMT</pubDate></item><item><title><![CDATA[Reply to X position and Y position help with Fiducial and ReacTIVision on Sat, 27 Apr 2019 21:30:45 GMT]]></title><description><![CDATA[<p>Thanks for your replies, I hope I will make this with your help and advices!<br />
Thank you so much again! :3</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/12024/x-position-and-y-position-help-with-fiducial-and-reactivision/5</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/12024/x-position-and-y-position-help-with-fiducial-and-reactivision/5</guid><dc:creator><![CDATA[Vanilleaya]]></dc:creator><pubDate>Sat, 27 Apr 2019 21:30:45 GMT</pubDate></item></channel></rss>