Draw Random Heart Picture

“The word 'politics' is derived from the word 'poly', meaning 'many', and the word 'ticks', meaning 'blood sucking parasites'.” - Larry Hardiman

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 Clock Program (No Run Time)

LabVIEW 7.1 Run-Time Engine (no install)

Copyright © 2007 Free Templates by Zymic - Free Web Hosting - Best Viewed in Mozilla Firefox