Properties
Category
English
Similar Topics
Statistics
Comments
7
Participants
5
Subscribers
5
Votes
1
Views
547
Share
Color sections of a circular shape
Answered
I need help with coloring sections of this circular shape, thanks!
 GeoGebra
 Help
 Partners

Contact us
 Feedback & Questions
 This email address is being protected from spambots. You need JavaScript enabled to view it.
 +43 677 6137 2693
© 2022 International GeoGebra Institute
Colouring areas in the 2Dview can be done by describing them with inequalities. Here's an example to get such a circular checker pattern that even allows an arbitrary set of radii.
You might want to go to the properties of "pattern" and set the Line Thickness to 0, because Geogebra also draws the boundary lines for each inequality, and because each inequality is used in multiple areas, those lines are then drawn multiple times and appear very thick.
As for what those commands do:
For a regular sequence of radii you can of course omit defining the radii list and just put the correct expressions in the pattern sequence.
It's also possible to use an arbitrary number of arbitry angles for the pattern, but it's a bit more annoying to do that. I kinda assume you only wanted the regular pattern with 45° angles anyway.
Edit: Removed some unnecessary part of the command (remnant from an arbitrary angle approach).
if you don't want to use Sequence() or you have more complex angles, then you can use this custom tool.
To do this, drag&drop the ggt file (in the attachment) into your applet.
Then write in Inputbox:
{RingSector(<Centerpoint>, <FromPoint>, <ToPoint>)}
and set the properties/Style/LineThikness to 0.
or
<name>_1=RingSector(<Centerpoint>, <FromPoint>, <ToPoint>)
this generate 3 objects has the same name+index: the inequality, the edging and the area
or
use the interactive customtool. This works very similar to CircularSector().
this generate 3 objects: the inequality, the edging and the area with different names

Note 1: Sector angles >180° are possible. 360° is not possible.
Note 2: this tool also works within a sequence. With this you could realize e.g. sector angles smaller than 45° (or sector angles from a list). Within a sequence only the inequality is generated (without edging and area)
I am attaching a similar construction based on inequalities to generate the initial figures and using sequences and rotations to generate the final composition. 16 objects are used to generate it, but it could be easily reduced to 9.
Comments have been locked on this page!