0
votes
0answers
55 views

Possible to plot geometric relations using constraints instead of equations?

I understand how to create points and lines and manipulate them, but what if I want to constrain drawn figures based on those points and lines without actually figuring out the equation of the figure, ...
0
votes
1answer
122 views

A problem on generating convex hull

For example, I typed the following: ...
8
votes
1answer
181 views

How to compile Heike's winding number function?

Heike gave the following function for winding number: ...
3
votes
2answers
250 views

Triangle mapped on a sphere in $\mathbb R^3$?

How can I map a triangle on an sphere? I want to visualize (plot or animate) it for my student in my Non Euclidean geometry. I have no restrictions on the triangle's kind or on the sphere in $\mathbb ...
6
votes
2answers
447 views

Calculating a minimum bounding box for a set of 3-space coordinates / spheres

I have a set of 3-space coordinates for the atoms of a molecule (I could also transform them into spheres with radii corresponding to the atoms they represent). I would like to place this molecule ...
13
votes
5answers
1k views

Distance between point and line segments

How would you determine the shortest distance between a point and one or more segments? For example, what is the shortest distance between the point and the two segments below? Clearly the point is ...
1
vote
1answer
299 views

Drawing a quadrilateral inscribed within a circle

I would like to draw a quadrilateral inscribed within a circle. How can I construct this figure, taking into account arbitrary (specified) side lengths, while still ensuring that the vertices of the ...
13
votes
4answers
1k views

How to draw a great circle on a sphere?

I apologize for the text description, but new users are not allowed to post images. I want to draw a circle that cuts through the center of a sphere and has an inclination of 15 degrees with the ...
12
votes
3answers
566 views

Approximating an ornamental curve

How do I go about approximating this ornamental curve? Note that the curve has somewhat variable thickness as typical in calligraphy, which I would also like to replicate. The excellent reference ...
10
votes
5answers
522 views

How to plot rectangles aligned by their center?

Supose I have a rectangle which area is $x^2$. In some cases I may not know what is the size of each side, for $x=12,$ we have several possibilites: ...
19
votes
2answers
626 views

How can I pack circles of different sizes into a spiral?

Given a list of circles of different areas, I need to arrange them tangentially in order of increasing area and spiraling outward. An example of the type of packing I'm attempting is shown by the ...
15
votes
4answers
1k views

How do I draw a triangle given the lengths of the sides?

I know, of course, how to draw a triangle in the plane given the vertices: Graphics[Polygon[{{1, 0}, {0, Sqrt[3]}, {-1, 0}}]] But I'm not sure how to simply draw ...
31
votes
6answers
2k views

Intersecting graphics

Does the Mathematica graphics system have any concept of intersecting graphics? I've not found much in the documents so far. For example, if I want to show the intersection of two shapes: ...