I want to be able to judge the overlap of balls by color. [Duplicate]

Asked 2 years ago, Updated 2 years ago, 91 views

4 years ago

I would like to make multiple balls and draw the overlapping parts in a way that is easy to understand and color-coded, but what should I do?
I was able to make several balls, but I don't know what to do after that.

matplotlib

2022-09-30 21:32

1 Answers

The overlapping parts are inside two or more balls.

In order to make it visible, you should do the following:
1) Display the sphere in translucent form (so that the overlapping parts inside the sphere can be seen)
2) Display the spherical surface of the overlapping parts in opaque colors (so that it can be seen as overlapping parts)

Wouldn't it be even better if the surface of one overlapping sphere is displayed in translucent and opaque colors of the same color and the color is different for each sphere (the sphere can be distinguished by color)?


2022-09-30 21:32

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.