The 'midpoint' script code is easily recast so that the new guide-point is not placed half way.
What proportion would you want it to be for a 'golden-section' - probably gs=point1.distance(point2)/1.6180339887 will be more than accurate enough for the offset of the picked point1 towards point2... thus pointc=point1.offset(point1.vector_to(point2), gs); then use entities.add_cpoint(pointc)
🤓