Draw Random Picture

“The reason there is so little crime in Germany is that it's against the law.” - Alex Levin

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

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