Search


Rss feeds
Posts Comments Source Code
Rating
Image to SpectrogramNontransitive DicecheaTorrentDomain ColoringiMac G5 CPU Fan view all...
Recent
Pretty GraphHypernova EngineEmergent FeedbackSDL Euclid OrchardSingularity Viewer view all...
Tags

All source code released under the BSD License unless otherwise specified
© 2010, Gavin Black

Web Domain Coloring

  1. Fill out the captcha
  2. Enter a function
    • Available variables
      • c -- Complex input
      • x -- Current horizontal position
      • y -- Current vertical position
      • i -- The imaginary constant
    • Quirks
      • Python syntax required (e.g. ** instead of ^ for power)
      • Only 1 line allowed
  3. Finally hit Graph, wait a minute and you should have a png file with the graph. The ranges are from -4 - 4i to 4 + 4i

Captcha: One Minus Two Plus 3 =

Source Code

Source Tree: http://devrand.org:8080/cgi-bin/cgit/onlineDomainColoring/tree/
Snapshots: http://devrand.org:8080/cgi-bin/cgit/onlineDomainColoring/commit/
Git Access: git clone http://devrand.org:8080/git/onlineDomainColoring

Conclusion

While not as quick as the C version, it still can make some pretty interesting results. The main trouble I had was Python versioning hell, were the version I was stuck with on my old host didn't support everything I needed.



Last Edited: 2010-10-17 14:00:36

+ Add a comment