>The most complex was when I used some trig to calculate the angle at which I had to wrap a square column with christmas lights to ensure I covered the column from top to bottom with a single string and no excess.
that doesn't seem trivial at all.. wonder how that's done.
The length l of the Christmas lights is the hypothenuse of a rectangular triangle of height h, the height of the column. So, if the slope angle is α, we have sin(α) = h/l, or α = arcsin(h/l).
Soundness check: that doesn’t have a solution if h > l. Looks good.
Luckily, arc length isn’t too gnarly for those (same Wikipedia page), but you still have one equation with two variables.
I would have to think hard about whether those give you a unique solution.
I also doubt that spiral would give you uniform coverage of the cone (and that probably, is the real requirement, not constant angles), but again, I would have to do some thinking.
oh, interesting variation for uniform coverage! that is indeed what i'd want for the tree. in building a road around a cone, a constant angle would be more desirable.
Suppose you’ve got a 16 foot strand of lights and an 8 foot column. If you unwrap the column in your mind, you can see you’ve got a right triangle with a hypotenuse of 16 and vertical leg of 8. What’s the angle that the hypotenuse makes with the floor? It’s the angle whose sine is opposite/hypotenuse = 8/16 = 1/2. That’s 30 degrees. So wrap the lights around the column at a 30 degree angle and it’ll be close (with a bit of slop thanks to rounding corners on the column).
that doesn't seem trivial at all.. wonder how that's done.