11-07-2014 10:34 AM
Gurus,
I am trying to create a visual representation of a maze using an array of 2D picture elements. The idea being is to load in a 2D wave of 1s and 0s and change the colour of the elements in the picture array to construct the maze visually. I cant seem to change the array colour elements. Can anyone help?
Thanks,
Paul
11-07-2014 01:11 PM
Try the attached instead. Because the array is already 0's and 1's you can simply multiply the array by a color and display the results as an array of color boxes.
11-07-2014 01:29 PM
Having an array of pictures seems silly. How many colors will the maze have? If you only have two colors, use an array of flat booleans, else use flat colorboxes.
can you attach your datafile?
11-07-2014 03:36 PM
File attached.
I will have 3 colours in total. I am going to write a code for the PC to solve a maze, just want to be able to visual it.
Thanks
11-07-2014 03:47 PM
Instead of an array of images, you should just use a simple 2D picture to display everything. That's what I would probably do.
11-07-2014 06:08 PM
11-08-2014 01:53 AM
Thanks guys,
Once I am back in front of a PC with labview I will give it a go.
11-11-2014 06:26 PM - edited 11-11-2014 06:28 PM
11-11-2014 07:33 PM
Does this satisfy any of your spoilers, Jeff?
11-11-2014 07:41 PM
@Zwired1 wrote:
Does this satisfy any of your spoilers, Jeff?
MANY! (Bows)