Group Abstract Group Abstract

Message Boards Message Boards

The Chaos Game - part II

POSTED BY: Sander Huisman
6 Replies

Thanks Vitaliy! I even further expanded the function, as compared to what I show here in the posts. It can also accept a ExclusionRegionFunction now which prohibits jumping in that area. Creating all kinds of new patterns and possibilities.

POSTED BY: Sander Huisman

This is awesome, Sander, thanks for the update and the function!

POSTED BY: Vitaliy Kaurov

The functionality of this post has been summarized in the function GeneralizedChaosGame, available on the Wolfram Function Repository:

https://resources.wolframcloud.com/FunctionRepository/resources/GeneralizedChaosGame

So you can now try this out using simply:

ResourceFunction["GeneralizedChaosGame"][3, 3 10^4]

Enjoy!

POSTED BY: Sander Huisman

enter image description here - Congratulations! This post is now a Staff Pick! Thank you for your wonderful contributions. Please, keep them coming!

POSTED BY: EDITORIAL BOARD

Here another visualisation for a pentagon 12 billion(!) jumps. enter image description here

Click here to open the image in a new tab and see all the details: 36 megapixels.

POSTED BY: Sander Huisman

Here is high-resolution visualisation for a hexagon:

enter image description here

and see here the animation: https://www.youtube.com/watch?v=leVGf5TiNnE

POSTED BY: Sander Huisman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard