Domain ColoringmovieDomainColoring
OverviewThis program generates a series of pictures which can be run through a program, such as ffmpeg, to produce a domain coloring movie. It also creates an X11 display for viewing it as you go. The program was adapted from this code found on Wikipedia and with much help from Chris Wellons to actually get it to compile. I've since made an online version too. Source Code
Making GraphsBeing lazy I didn't include the ability to pass in parameters. Everything is defined in very simple to read constants at the top of domainColoring.c, and the function that defines the graph is called fun. Obviously every change requires a recompile. I know of no 'eval' type functionality in C, so no matter what the source always has to be changed when making a new function. Movies Of ExecutionTetrationTeaser pictures, will expand more on this in the future:
![]() ConclusionThis works well, and I have already gotten quite a bit of use out of it. This biggest drawback is needing to recompile for little changes to the algorithm used. Last Edited: 2010-10-25 03:14:38
+ Add a comment ae8be86c7c733b7a06fe2e7a6e24a0182012-05-20 05:45:41.13793 UTC Chris Wellons said (2010-10-25 03:15:31): I really like the first two animations, especially the periodicity of the second
one. And I like that you made the link images equations. |
Posts
Source Code




