“Tip the world over on its side and everything loose will land in Los Angeles.” - Frank Lloyd Wright
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.
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 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.
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.
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.
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.