From: https://github.com/keijiro/NeuronAnimator