I "put his hands" on the model of the flock of birds to try to improve it and, above all, because I noticed a flaw of this model (and my other earlier) regarding the execution speed of the animations.
I was always aware of this aspect of the simulations and I always connected the timers, set in the script, the value of "dt", which is the time between one frame and the next.
I had not thought that the intensity of the forces (being exercised in every frame) increases in proportion to the value of the FSP, which is not the same for all computers.
With user-driven models the problem is less obvious: If you over-speed you stop operating the motor and the model slows ...
With fully autonomous models the force of movement is decided by the program and varies considerably if it is exercised 30 times per second or 150 times per second !!!
I noticed only when, recently, I changed the computer ...
So I had to equip the script of a small section which "reads" the FPS value and determines a coefficient which is used every time you run a command that carries a "moving force".
In this way the speed of the simulation should be similar for all the computers and similar to the speed that I thought "right" when I built the model.
To be sure of its operation I used the most gentle of
HiFlyer cooperation (to which I am very grateful for the time and patience that has dedicated to Tests, and thank you very much), who has just equipped its computers on a Nvidia Gtx 1080 , and therefore is "the opposite extreme," as computing power, of my modest system.
I apologize to anyone who has seen "squirt fast" my models ... have thought the inexperience of an amateur ...
For it is just that, but ... even the mistakes are useful to learn and progress!
When I have a little time I will devote myself to a "restoration" general ...
Here are the links to download the reworked models:
Flock of birds:
https://drive.google.com/file/d/0B6114pZ3kPTgRXRnWWJ5YmZBTG8/view?usp=sharing(It is installed in a new folder: BIRDS. You can erase, without regret, the old BIRDS450 folder).
Monarch butterflies:
https://drive.google.com/file/d/0B6114pZ3kPTgcDFyS2hiU2dhdEU/view?usp=sharingA
New Model: Colorful butterflies.
https://drive.google.com/file/d/0B6114pZ3kPTgR0drMC1PNFZqYmM/view?usp=sharingThe swarm of wasps did not present any major problems and has remained the same as before.