MaxArt 825 days ago. link 2 points ▲ ▼Very interesting, but... it's Python, so it's off topic. Edit: also these lines make my eyes bleed: https://github.com/aarushkuk/Turbulence-in-Flocking-Behavior-Versus-Fuel-Injector/blob/main/Gas%20Particle%20Spray%20Simulation.py#L91-L124
MaxArt 835 days ago. link 3 points ▲ ▼I guess it all boils down to: * because JS' number values have limits; * use a reviver that creates BigInt values if necessary: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse#the_reviver_parameter
MaxArt 857 days ago. link 1 point ▲ ▼Ah darn it, I've missed that link! How do I undo a downvote? 😫