Creating a user initiated trigger using horz/vert pos.
-
I'm looking to make a sliding puzzle that uses videos diced into 9 equal pieces. So far, my main roadblock at the moment is configuring the right actors to create a selection/button that users can interact with using motion tracking within the patch to move pieces up/down/left/right.
I'm under the impression that creating a trigger that activates in proximity to the position a user is highlighted on would do the trick. Still, I'm not very familiar with all the actors, so any advice is welcome!
-
It is possible in Isadora to achieve what you have described. There is a bit of logic and planning required to make this successfully.
A good starting point is an understanding of the hardware you are planning to use to present your puzzle to participants. What is the input device that allows the selection and manipulation? What is the presentation device that displays the result?
-
As @bonemap said, you'll need to learn to program some logic. Here's my basics of logic file:
2023-04-20_basics_of_logic_revised.izz
For your purposes you'll want to look specifically at "Q16 - Pairs of Values Within A Range" since you're looking to trigger things based of of horizontal and vertical position values.
Other helpful tips for getting started on this:
- You'll want to understand how initializing values works in Isadora so here's a video tutorial.
- You'll want to understand how scaling works in Isadora so:
- Here's a scaling tutorial video from our YouTube channel.
- Here's an example file that demonstrates how automatic scaling works.
- Here's an example file that demonstrates scaling in general
- Here's an example file centered around scaling for the Stage Mouse Watcher actor
- You'll want to check out actors in the "Calculation" Actor Bin (it has a division symbol).
- Particularly the Calculator, Comparator, Data Array, Inside Range, and Limit-Scale Value actors.
- You'll want to check out actors in the "Control" Actor Bin (it has a gear symbol).
- Particularly the Gate, Trigger Value, Selector, and Router actors.
- In the "Mouse & Keyboard" Actor Bin, you'll likely want to prototype using the Mouse Watcher or Stage Mouse Watcher actors.
- You can right-click any actor and choose the top option "Show Actor Help in Browser" to see descriptions of the actor itself as well as all its input and output properties.
-
@miawa said:
using motion tracking within the patch to move pieces up/down/left/right
This motion tracking tutorial file of mine may also be helpful: https://troikatronix.com/add-ons/tutorial-basic-motion-tracking/