From Hard Drop Tetris Wiki
DBR: Distance Based Rotation, is a FANMADE rotation system (created by me(-i-)!!) that uses the distance between a tetromino’s center of rotation. It was formed from how I initially thought of the Tetris rotation systems and based off of Techmino's BiRS (Bias Rotation System).
How it works is it rotates it around its rotation point, finds areas that has a space it can go to, and checks them. The checking works as follows: find closest area that fits, if distance of [rotation point of new position] to [rotation point of prev position] < [something] units then rotate and go there else don’t rotate. If there are two or more closest positions that have the same distance, the priorities are used. If move left or move right are being pressed, choose the one to the left or right respectively. If not, check for down first. If it can move down, it does. If not, go up.
Please keep in mind this is all theoretical and I haven’t actually tried coding it yet so if anyone can make it that’d be really helpful <3