Generating (almost) equally-spaced points along a parabola
10 months ago
- #graphics programming
- #game development
- #mathematics
- The article discusses generating equally-spaced points along a parabola for coin placement in an endless runner game.
- Initial approaches of sampling at regular time or horizontal intervals resulted in uneven coin spacing.
- A mathematical approach using arc length was considered but deemed impractical due to complexity.
- A simplified method approximating infinitesimal changes in arc length provided a more aesthetically pleasing and performant solution.
- The final approach balances mathematical approximation with practical implementation, improving visual consistency without heavy computation.