I declare this is all my work
Thanks to @nakakouTV for feedback and idea about improving this ( not using absolute value to solve square root, repeating until pen size reaches 1 ) You can use it if you want but you have to give credit Took me 5 hours to make support would be grateful :D