Draw Random Picture Program
Here is a Draw Random Picture program, with this program you can draw random pictures of a night sky, in a city, during a lightning storm. The user specifies the number of lines in the background, the number of turns in each line in the background, the base color in the background, the number of bolts of lightning, the number of turns in each bolt of lightning, the color of the lightning,and how quickly the color of background changes. After the picture is generated the user can then save the picture as a .jpg, .bmp, or .png file.
Contents
Draw Random Picture.exe Compiled Windows Binary
Source\Accent Color +.vi Sub-VI which finds a maching color, given a base color.
Source\Draw Random House Sub-VI which draws a house of random size.
Source\Draw Random Houses.vi Sub-VI which draws a series of houses, which are random, next to eachother.
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 picture.
Download
Download the zip file and extract it. If you don't have the LabVIEW 7.1 Run-time Engine you must download and install it before you will be able to run the executable. The zip also contains the souce code.