HF RL Explorer

2D Point Rotation Algorithm

2D Point Rotation Algorithm: a task in Terminal-Lego-15k (Harbor dataset). You are developing a card game where cards fan out from a central point. To implement collision detection for mouse interactions, you need to rotate the corner points of each card around a pivot point.

The task

You are developing a card game where cards fan out from a central point. To implement collision detection for mouse interactions, you need to rotate the corner points of each card around a pivot point.

Part of PrimeIntellect/Terminal-Lego-15k.