Kinematic simulation of a Binomial Distribution
Posted: Tue Jan 15, 2019 4:35 pm
Art
I've decided to learn more about the Kinematic capabilities of the Augie Vector processor. Over the last few days I viewed some of you videos regarding the processor and duplicated some of your examples.
I always like to stress the limits of programs so I built a simulation to demonstrate the binomial distribution. The inspiration for this model was a box that I had built decades ago when my kids were in 4th or 5th grade. The box contained BB's, a bed of nails, and catch bins that demonstrated the effect of a sequence of binary events that over time form the bell shaped binomial distribution.
The first two attachments are jpg's of the simulation near the end of the run. The attached .vcp file contains the simulation and I also encapsulated the whole mess in a .mech file. It took eight tries to tweak the model to get a reasonable approximation to the distribution.
The simulation starts out with 800 small balls that fall onto a funnel object. The funnel is an attempt to create a single stream of balls to drop into the grid of pins. I lost count of the number of pins.
I run the simulation ~40% rather than 100%. I do see some anomalies at higher speeds where some of the balls drop through the catch bins at the bottom of the model. Perhaps these anomalies are caused by the decimation of some of the objecs and the sheer number of collisions the program has to calculate.
I don't think I'll do much more with this model. The comb structure of the catch bins should be taller. The sides of the funnel should be longer since some of the balls spill over the edges.
Is there any way to delete empty layers? The method I stumbled upon was to create a mech file of the entire project, start a new project and then import the mech file.
I'm still a bit confused over the layers and the relationship to the simulation. I first built up my simulation model by importing DXFs each of which ended up on a different layer. In order to run the simulation I moved all of the chains to the same layer.
If I build any more simulation models I'll probably build up the components of the model and create .mech files from the components.
Bill
I've decided to learn more about the Kinematic capabilities of the Augie Vector processor. Over the last few days I viewed some of you videos regarding the processor and duplicated some of your examples.
I always like to stress the limits of programs so I built a simulation to demonstrate the binomial distribution. The inspiration for this model was a box that I had built decades ago when my kids were in 4th or 5th grade. The box contained BB's, a bed of nails, and catch bins that demonstrated the effect of a sequence of binary events that over time form the bell shaped binomial distribution.
The first two attachments are jpg's of the simulation near the end of the run. The attached .vcp file contains the simulation and I also encapsulated the whole mess in a .mech file. It took eight tries to tweak the model to get a reasonable approximation to the distribution.
The simulation starts out with 800 small balls that fall onto a funnel object. The funnel is an attempt to create a single stream of balls to drop into the grid of pins. I lost count of the number of pins.
I run the simulation ~40% rather than 100%. I do see some anomalies at higher speeds where some of the balls drop through the catch bins at the bottom of the model. Perhaps these anomalies are caused by the decimation of some of the objecs and the sheer number of collisions the program has to calculate.
I don't think I'll do much more with this model. The comb structure of the catch bins should be taller. The sides of the funnel should be longer since some of the balls spill over the edges.
Is there any way to delete empty layers? The method I stumbled upon was to create a mech file of the entire project, start a new project and then import the mech file.
I'm still a bit confused over the layers and the relationship to the simulation. I first built up my simulation model by importing DXFs each of which ended up on a different layer. In order to run the simulation I moved all of the chains to the same layer.
If I build any more simulation models I'll probably build up the components of the model and create .mech files from the components.
Bill