Dust

AI Swarms with RxJs


Project Goal

Explore the RxJs API by managing moving particle systems. The systems should:

The trickiest portion of this iteration was animating the curved paths. Elliptical geometry was the initial goal, but calculating arc length (to maintain a scalar speed) is quite difficult. Smoothstep cubic curves were also an option, but maintaining consistent entry and exit angles could affect performance for large groups. The current design uses circular paths that allow smooth changes in both direction and rotation.