Assigning a variable (calculated) value to a shape
I need some help with GeoGebra “programming” I am trying to create a Pascal’s triangle with hexagons and am facing two distinct challenges:
First: I want each hexagon to have a value in it and I want that value to be the result of a calculation based on values in both other hexagons and constants introduced by sliders
Second: I want the interior colour of the hexagons to be a function of the “hexagon’s value”
I can find completed examples by other people (without being able to access the "coding"), but what I am struggling to find is guidance on how to do this coding.
I am reaching out to you in the hope that somebody can direct me to some tutorial/other user notes.