How can I programmatically draw new circles on an image control
Hi, I'm fairly new LV and programming in general. I'm creating a program to get better. In this program, I have balls bouncing around on an image control. I use a table to keep track of the ball position (x, y) and the other to follow their speed. I want that whenever a ball reaches the border of the image, it splits into 2 balls. My problem is that I can't find a way to programmatically add these new balls for each draw circle screw must be serialy connected and then drawn on the image. What Miss me?
You need to iterate over your table of bullets. This means that the use of automatic indexation. Now, you have no reason of wire with a value of N in the loop For. And wiring of this value to the array Index function gives you invalid data it's either nothing, or the ball even if it exists in the table.
I cleaned up a few other things in your code.
1 cancel the function. No need to multiply by-1.
An array of Index 2. It is expandable. Drag the bottom border down.
Your next bit of code to add would be where you decide to add another ball and put it in the Position and speed tables.
Tags: NI Software
Maybe you are looking for
FoxyTunes was not available for several updates of Firefox. I also have no more the sort for bookmarks addon. These are much more useful to me than the media social addons.
Hello I have an OfficeJet 6700. I need to scan documents of several large double-sided pages and want to use the automatic charger. I see nothing in the software to be able to analyze one side of a pile of pages, return them manually, then analyze th
I have a hp mini and it crashed so I re installed win xp but I can't find the drivers I need for this please help
I have Redhat Linux RHEL 6, it blocks during the installation on the IdeaPad Z565, which I was surprised, others seen elsewhere?
Hello Dell Tech and users! I have a coming 8 Pro and I love it. However, recently, I noticed a problem with the touch screen. When my screen is in portrait mode with the windows key upward, I can't slide in from the right. Similarly, if I flip the