Notice: Undefined index: STYLE in C:\Users\IEUser\Documents\Website Root\htdocs\Navigation\Code Repository\LabVIEW\Draw Random Picture.php on line 38
Warning: include(./../../../GetRandomBlackBack.php): failed to open stream: No such file or directory in C:\Users\IEUser\Documents\Website Root\htdocs\Navigation\Code Repository\LabVIEW\Draw Random Picture.php on line 40

Warning: include(): Failed opening './../../../GetRandomBlackBack.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\Users\IEUser\Documents\Website Root\htdocs\Navigation\Code Repository\LabVIEW\Draw Random Picture.php on line 40
>
Warning: include(./../../../GetRandomBlackText.php): failed to open stream: No such file or directory in C:\Users\IEUser\Documents\Website Root\htdocs\Navigation\Code Repository\LabVIEW\Draw Random Picture.php on line 41

Warning: include(): Failed opening './../../../GetRandomBlackText.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\Users\IEUser\Documents\Website Root\htdocs\Navigation\Code Repository\LabVIEW\Draw Random Picture.php on line 41
>

Notice: Undefined index: STYLE in C:\Users\IEUser\Documents\Website Root\htdocs\Navigation\Code Repository\LabVIEW\Draw Random Picture.php on line 43

Notice: Undefined index: STYLE in C:\Users\IEUser\Documents\Website Root\htdocs\Navigation\Code Repository\LabVIEW\Draw Random Picture.php on line 48

Notice: Undefined index: STYLE in C:\Users\IEUser\Documents\Website Root\htdocs\Navigation\Code Repository\LabVIEW\Draw Random Picture.php on line 53
Warning: include(./../../../GetRandomMain.php): failed to open stream: No such file or directory in C:\Users\IEUser\Documents\Website Root\htdocs\Navigation\Code Repository\LabVIEW\Draw Random Picture.php on line 59

Warning: include(): Failed opening './../../../GetRandomMain.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\Users\IEUser\Documents\Website Root\htdocs\Navigation\Code Repository\LabVIEW\Draw Random Picture.php on line 59
>

Logo


Warning: include(./../../../stylearray.php): failed to open stream: No such file or directory in C:\Users\IEUser\Documents\Website Root\htdocs\Navigation\Code Repository\LabVIEW\Draw Random Picture.php on line 69

Warning: include(): Failed opening './../../../stylearray.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\Users\IEUser\Documents\Website Root\htdocs\Navigation\Code Repository\LabVIEW\Draw Random Picture.php on line 69

“If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.” - Peter Ustinov


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.

Download Draw Random Picture Program

Download LabVIEW 7.1 Run-Time


Notice: Undefined variable: PageStyle in C:\Users\IEUser\Documents\Website Root\htdocs\bottom.php on line 5
Notice: Undefined variable: PageStyle in C:\Users\IEUser\Documents\Website Root\htdocs\bottom.php on line 9

Notice: Undefined variable: PageStyle in C:\Users\IEUser\Documents\Website Root\htdocs\bottom.php on line 13
width="250" height="109" alt="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.