Baseball seam (2018)

Author's sample script, wroks, hints.
Post Reply
User avatar
3DfromNULL
Site Admin
Posts: 45
Joined: 2018-Jul-13 9:35

Baseball seam (2018)

Post by 3DfromNULL »

What curve is the seam of a baseball or tennis ball? We might be able to find the mathematical solutions on the net. But let's make the curve in "try and error" approach, instead.

Image

The hidden line (curve) should be congruent to the visible line (curve). The shape reminds me of an astroid.

Image

An astroid is a hypocycloid with four cusps, and can be drawn using two circles.

Image

I plotted it on a sphere. It exactly seems to be an astroid in the orthographic xy-plane, but it isn't same with the seam in the ball photo above.

Image

The distance between ")" and "(" must be narrower and the bulge of "U" shape must be larger. In order to get the right distance of ")(", let's draw some curves with different distance changing the cos-component of the astroid (Please read the script for detail).

Image

Image

We can now select a "good" distance, but that seems to make the bulge small. Let's fix the distance of the ")(" and draw some curves with different "U" bulges changing the rotation degrees of each points on the curve (Please read the script for detail).

Image

We got an almost good curve.

Image

Note: This is not an elegant mathematical approach. This script demonstrates an example of how we can determine the curve of seam with "try and error" (or "cut and try").

Edited on Mar 12 2019:
Updated the attached script file, 3c->3d so that it can be run with ptsxpy 0.0.7.

Image Image
Image Image Image Image Image
Attachments
baseball3d.py
script file
(6.27 KiB) Downloaded 2469 times
Post Reply