Blog Post
JimAddoms
4 years agoCommunity Member
I’ve been too long in posting a challenge and this one seemed liked a fun one that combined my interest in Storyline dev and my passion for the elegance of mathematical proofs, (though I’m no mathematician myself!).
“Exploring the Four Color Theorem” is my entry for the Interactive Coloring Book challenge. I’ve always been fascinated by mathematical problems, and this is an example of being able to sandbox a problem from graph theory that states: Given any separation of a plane into contiguous regions, producing a figure called a map, no more than four colors are required to color the regions of the map so that no two adjacent regions have the same color. It was the first major theorem to be proved using a computer.
I’d welcome ideas about a coding challenge. I added an answer key so users can get to one possible correct answer, but there are many correct configurations. In the interest of time, I coded only one of these answers rather than manually code all possible correct configurations. If someone has a better way to code this so that all the manual triggers aren’t necessary, I would love to learn from fellow members of the community.
Exploring the ‘Four Color Theorem’
Demo link: https://s3.us-east-2.amazonaws.com/elh-323-interactivecolor.skillspace360.com/story.html
Source: https://s3.us-east-2.amazonaws.com/elh-323-interactivecolor.skillspace360.com/ELH_Challenge_323_Four_Color_20210429_v1.story
“Exploring the Four Color Theorem” is my entry for the Interactive Coloring Book challenge. I’ve always been fascinated by mathematical problems, and this is an example of being able to sandbox a problem from graph theory that states: Given any separation of a plane into contiguous regions, producing a figure called a map, no more than four colors are required to color the regions of the map so that no two adjacent regions have the same color. It was the first major theorem to be proved using a computer.
I’d welcome ideas about a coding challenge. I added an answer key so users can get to one possible correct answer, but there are many correct configurations. In the interest of time, I coded only one of these answers rather than manually code all possible correct configurations. If someone has a better way to code this so that all the manual triggers aren’t necessary, I would love to learn from fellow members of the community.
Exploring the ‘Four Color Theorem’
Demo link: https://s3.us-east-2.amazonaws.com/elh-323-interactivecolor.skillspace360.com/story.html
Source: https://s3.us-east-2.amazonaws.com/elh-323-interactivecolor.skillspace360.com/ELH_Challenge_323_Four_Color_20210429_v1.story
- JodiSansone4 years agoCommunity MemberVery interesting! Thank you for sharing it. I had never heard of this theorem.
- Ange4 years agoCommunity MemberFascinating, I enjoyed figuring it out. I will take a look at your code. If I have any ideas I will send on. I was working on coding a color module: Proportions of primary color drops mixed = this color result. I had 12 result colors lined up and my time ran out after the 1:1 drops, still working on the others. I considered using javascript, it may be a better alternative to manually coding hundreds of variables. However, still working on discovering an effective, elegant, and less labor intensive, way to use variables instead of js, if I do I will pass on what I learned.
- Ron_Katz4 years agoCommunity MemberThis was fun. I solved it but not quite the way you did so there was no "pomp & circumstance:. It was an interesting challenge and I like how simple it was to interact with.