LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Knob Eyeballs

Solved!
Go to solution

Ok, now that's just creepy.

0 Kudos
Message 11 of 34
(2,661 Views)

Of course we could satirize the recent NSA scandal, showing the power of scalable code. 😄

 

 

 

Download All
Message 12 of 34
(2,645 Views)

I tried building this in labview 2009 but can't seem to get the eyes to move correctly.  Could you post this in an earlier version?

0 Kudos
Message 13 of 34
(2,612 Views)

The code is right there, both on the NSA version and on my version.  Neither uses any tricks beyond LV 2009.

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 14 of 34
(2,610 Views)

I see the code and I've duplicated it, but the eyes don't move, they kind of flicker and stay still.  Probing the values being sent to the two knobs, I see that the values I'm sending far exceed the -pi to pi limits set for the knobs (largest value I saw was 536 + 230i).  If I try very carefully to keep my mouse in a very small region, they do follow.  So it seems something is wrong with my coordinates

 

EDIT: OK, I'm an idiot.... forgot to convert the complex to polar.

0 Kudos
Message 15 of 34
(2,605 Views)

For the NSA version, it assumes that the knob scale is already set correctly as done in the knobEyed version (look at the property node in the FOR loop).

 

Anyway, here it is downsaved to 2009. See if it works fo you...

 

 

Message 16 of 34
(2,603 Views)

Thanks, guys.

 

Now I have a headache from crossing my own eyes playing with these!

 

Smiley Surprised

Jeffrey Zola
Message 17 of 34
(2,568 Views)

My wife wants to see the eyeballs blink when the mouse is clicked!

 

Lynn

Message 18 of 34
(2,508 Views)

@johnsold wrote:

My wife wants to see the eyeballs blink when the mouse is clicked!

 

Lynn


Mouse click event and change the dimple and background colour?

 

 

You could extent the blinking further by having each of the eyes individually (in the NSA one) wink at random times.

0 Kudos
Message 19 of 34
(2,491 Views)

johnsold wrote:

My wife wants to see the eyeballs blink when the mouse is clicked!

 

Lynn


Seems easy enough - try this (2011). I didn't bother with the full blown slide or with fixing the eye so that the eyelid covers all of it.

 

P.S - Sorry, but despite the name, there are no images from DW in there. Hopefully the file name won't cause the Lithium servers to crash.

P.P.S - Sorry Darren, but I couldn't bring myself to make Clint blink.


___________________
Try to take over the world!
Message 20 of 34
(2,460 Views)