Curling simulation position functions

AI Thread Summary
The discussion revolves around creating a computer program to simulate the motion of curling rocks on a trapezoidal rink image. The user is struggling to accurately calculate pixel positions based on real rink dimensions, specifically the scaling factors for horizontal and vertical positions. They note that the horizontal scale increases as one moves from the back to the front of the rink, but the vertical scaling seems inconsistent. Attempts to derive a linear function for the scaling have led to incorrect total lengths, indicating a fundamental misunderstanding in the model. The user acknowledges the complexity of perspective projection and seeks clarity on how to properly represent the rink's dimensions in their simulation.
Delphi51
Homework Helper
Messages
3,406
Reaction score
11
The Canadian national men's curling competition (the Briar) is going on this weekend and I am motivated to write a computer program to simulate the motion of the rocks on the ice. I see on TV that the rectangular rink 14 by 126 feet appears to be trapezoidal on the screen, with the front about 7 times as wide as the far end:
curling1.jpg


I need functions to calculate the position on the trapezoid image in pixels when given the position in feet on the real rink. This strikes me as a fairly easy problem but I keep getting results that don't check out - I must have a fundamental misunderstanding. The horizontal part seems straighforward: clearly the scale of pixels per foot is larger as you move from back to front. It seems to me the vertical scale must be the same as the horizontal one at any position y down from the top or back of the trapezoidal image.
Curling2.jpg

The scale I get is x pixels divided by 7 feet = a(d-y)/(7d), a linear function of the y position. My first test was to integrate the scale times dy to get the total length of the rink in feet. That came out to 126 =Bd/a[ln(d+h) - ln(d)]
I could not choose constants a,b and c to make this equal to 126 feet!

Next, I tried putting in some numbers for the a,b,c constants to make the rink image look about right on the screen and doing a spreadsheet calculation of the scale and feet for each 10 pixels of the height in the image. When I total up the feet for the whole length, I get about 50 feet.
curling3.jpg

Changes to the constants for the image size and shape seem to make this total even less. Something is very wrong with my model, but what?
 
Last edited:
Physics news on Phys.org
Yikes, that is 3D complicated.
 
Thread 'Collision of a bullet on a rod-string system: query'
In this question, I have a question. I am NOT trying to solve it, but it is just a conceptual question. Consider the point on the rod, which connects the string and the rod. My question: just before and after the collision, is ANGULAR momentum CONSERVED about this point? Lets call the point which connects the string and rod as P. Why am I asking this? : it is clear from the scenario that the point of concern, which connects the string and the rod, moves in a circular path due to the string...
Thread 'A cylinder connected to a hanged mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top