Modified to be able to adjust size.
@P_Mania for pretty much everything shown here, except for the size adjustment. (As of July 12, 2023, I also added a tiny more code to quicken the position calculations.) About the size adjustment, I kept all of the ratios exactly the same as @P_Mania made them in their original project, so that when size is 24, all the parameters are identical to how they are set in @P_Mania's original project.