Possible solutions to draw a spiral inside a boundary curve

The aim is to create a spiral within a boundary curve. The method I followed is to create a series of concentric curves starting from two initials (you can simply start from a multiple offset too). to then connect the concentric curves together in a spiral. My solution seems to work but it doesn’t convince me very much. If anyone has any suggestions or an alternative method I would appreciate it very much.
thank you

Canvas at 12;52;34
spiral_inside_boundary curve.gh (17.8 KB)

spiral_inside_boundary_2022Feb12a.gh (16.7 KB)


It works perfectly, very clever solution.
thank you Joseph Oster