Logo

“If all the world's a stage, I want to operate the trap door.” - Paul Beatty


Draw Random Heart Picture Program

Here is a Draw Random Hearts Picture program, with this program you can draw random heart pictures. The user can specify the number of hearts in the picture, the staring color for the hearts, and how quickly the color changes. The larger the value on the Color Change slider the more the color changes from heart to heart.

Contents

Draw Random Heart Picture.exe Compiled Windows Binary

Source\Accent Color +.vi Sub-VI which finds a maching color, given a base color.

Source\Distance Formula Sub-VI which determines the distance between two points.

Source\Get Random Number Range.vi Sub-VI which generates a random number within a given range.

Source\Main.vi Main VI which draws a random heart picture.

Download

The Download comes in 2 flavors, the first is the one you should download if you don't know what to download. It includes the source and program, with the 7.1 run time so you can run the executable without having to install any thing. Just run the exe in the Executable folder.

Download Clock Program

The second flavor is you can download the executable with the source, but no run time, you can download the run time seperatly. This is incase you already have the run time engine and don't want to download it again. If you already have the LabVIEW 7.1 runtime engine just download the executable, and put it in the folder with the 7.1 run time engine. Place it in the same folder as the LVShellExt.dll file (along with all the others).

Download Heart Program (No Run Time)

LabVIEW 7.1 Run-Time Engine (no install)

Photo Albums

All examples, instructions, tutorials, custom code, and documents created by Brian Hoover on this site are in acordance with the Createive Commons Attribution 3.0 license.

This means you are free to take, and modify any thing on this site, even for commercial use, as long as Brian Hoover is cited as the original creator, and that http://www.brian-hoover.com is the original source.

About Me

Everything on this site is taken as-is, and no support contract or warrantees are in place for obligated continued support. If you have questions about the content on the site feel free to contact the Webmaster.

Creative Commons License
This work by Brian Hoover is licensed under a Creative Commons Attribution 3.0 United States License.
Based on a work at www.brian-hoover.com.