Using C++ to enhance particles calculation, then get the result by Python ctypes, although the speed is not extremely fast, but it’s still faster than performing calculation directly within Python, there should be room for improving computational speed in the future.
You can teach the robot to change rotator’s path, but make sure the speed isn’t too fast, or else the rotator might become separated from the robot. You can also adjust initial particles Z levels, from 3-20. Use VC internal recorder to record then watching the recording should provide a smoother experience.
Here are the sample files, after unzip, set SPHDLL file URI in VC to the DLL file URI in your computer, have fun with particles.
SPH.zip (500.8 KB)