News for hackers. Stuff that matters.
Re:What Makes a Good Programmer Good? by derefr on Sunday November 03, 2013 @05:58PM (#6665521)
> Did you know, that if you make a control loop running basically newton's method of approximation (more or less), it can be statically stable in continuous analysis but when you run it on real world discrete math with short-ish rounded floating point it can get squirrely and oscillatey (are those even words?) so that's why you ram the output thru a low pass filter to damp out the oscillations. Or at least that's one way to fix it.

I encourage anyone who wants to get an intuitive grasp of simulations to just write a simple little 2D game engine, and try to work up toward a simple two-player realtime LAN system with predictive physics for expected network input. Seeing sprites shudder and vibrate against their integer pixel positions, jump instead of smoothly curving when a correction is issued, etc., is a visceral learning experience.

There are no comments on this comment yet.