The simplest implementation I only wanted to implement can be found at https://lase.dev/miscellaneous/cursed-cursor

this subpage is an expansion of my implementation. mostly used ai.