This pen is by Alex MacArthur ( @alexmacarthur) on CodePen.
As of v8.7.0, TypeIt’s cursor animation relies on the Web Animation API, and permits you to customize the underlying animation.