sheaf/Polynomial-roots — pull request #2 by isomorphism (2012-01-02 09:25:06+00:00)
Title: initial rough work for a UI

Currently using SDL for quick-and-dirty putting pixels on the screen. If you want to merge and use these changes, you'll need to install the "SDL" and "SDL-image" packages. These are more foreign bindings, but should work without much hassle on Linux.

What it does right now:

- run with "gui" as a command line argument for that behavior
- in GUI mode it just loads the config file and begins drawing
- the resolution in the config file will be the size of the window, so don't make it bigger than your monitor
- if the mode is Both it'll draw the roots and IFS side-by-side simultaneously (doubling the window width)
- It will print a message to the console when plotting is complete

Right now it still just draws to the screen, and the gradients haven't been changed. Sometimes it seems to freeze up--I need to figure out what's up with that.

Watching it draw is pretty neat.