Hey cool

It must be the heat here down-under*, I couldn't even see my way from Christopher's formula to that sequence of patches which is a very logical interpretation! Here's your gates with and AND on the end.

It's basically to stop a click-&-drag-cursor creating a hit from one region (that you clicked in) to another region (that you dragged the cursor into). Not until a mouseUp has reset the trap. 

'Hit' is true if no region is currently 'Hit' If there is already a hit it interrupts the hit unless that region is itself. Sounds overly complicated but when I used a simple lock and shared amongst other regions I got this weird kinda race condition where the active hit region switched itself on and off every other frame while mouse down. The logic was telling itself nonsense… hard to explain nonsense…

When I get it altogether will post complete for comment (Oh that's the long way around etc). Having trouble integrating with my other Zone ID logic so far…

Attachment: Converse implication followed by AND gate.qtz
Description: application/quartzcomposer



* 10 year drought followed by weeks of floods and now tropical humidity and heat.


On 15/01/2011, at 9:57 PM, Achim Breidenbach wrote:

Hi,

just for fun, I implemented Christopher's formula with "Logic" patches in QC. Find the composition attached.

<Converse implication.qtz>

best,

Achim Breidenbach
Boinx Software

On 15.01.2011, at 11:40, Christopher Wright wrote:

I have need of a <a6465c0244621c63e7e1e96eb55aad7a.png> B logic gate otherwise known as Converse implication.

mathematical _expression_

(!a & b) ? 0 : 1

(more verbally:  the only false case is !a & b -- therefore, we select that case for false, and all others for true.  given the truth table you provided, that seems simplest)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/achim%40boinx.com

This email sent to ac...@boinx.com


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      (Quartzcomposer-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to