Requires raylib 3.50 and the FreeBASIC binding. You want raylib.dll in the same directory as your final executable and your three .bi files in the inc folder
https://github.com/raysan5/raylib/releases
https://github.com/WIITD/raylib-freebasic
Because I sure as heck didn't figure out how to rotate a point around another point by myself
https://stackoverflow.com/a/21096179
https://en.wikipedia.org/wiki/Transformation_matrix#Rotation