Hi James, Controlling the spin parameters would certainly be easy enough to add. In fact, I already have a version that exposes the spin settings which I used to tune the spin rate. My only concern is that it already seems like it has more knobs than I'd like, and I'm reluctant to expose even more than I already have. The image saving problem is interesting. When I create the canvas, I define the background to be white, and when clearing the canvas I do in fact "clear" it, resulting in a white background. I suspect your image capture software might realize that it's looking at background pixels, and may be setting the background color to its own default. Or perhaps the background is actually transparent? I'll bet I could "fix" this by explicitly painting the canvas white, rather than clearing it. This might not always be preferable, but I'm guessing it would force the background color to white in the captured image. I haven't looked at the polyhedron viewers you mentioned, but they sound interesting. Tom James Buddenhagen writes:
Very nice viewer. A few small issues for me: the spin is too fast, it would be nice if I could slow it down. Also, when I save an image bring up the png file using irfanview the background is black. This may be a Windows 8.1 issue, but I prefer the light background. Two other polyhedron viewers I like are great stella / stella4d and antiview, probably you have seen them, but if not you might be interested to have a look.
On Mon, Mar 16, 2015 at 11:32 PM, Tom Karzes <karzes@sonic.net> wrote:
Hi folks,
I've put together a simple interactive polyhedron viewer which might be of interest. It requires a web browser that's current enough to support html5, and JavaScript has to be enabled, but that's pretty much it.
Here's the URL:
http://karzes.best.vwh.net/polyhedra/polyhedron.html
You can click-and-drag the individual polyhedra to rotate them, or you can make them spin around automatically.
Some filters are available at the top, based on classification and on rotational symmetry. Please note that the rotational symmetry designations are deliberately broad and imprecise, so please don't flame me for their lack of specificity; it's intentional.
I should add that the click-and-drag functionality won't work with a touch screen, so you'll want to use a real mouse to use the full interface.
Anyway, let me know what you think.
Tom
_______________________________________________ math-fun mailing list math-fun@mailman.xmission.com https://mailman.xmission.com/cgi-bin/mailman/listinfo/math-fun
_______________________________________________ math-fun mailing list math-fun@mailman.xmission.com https://mailman.xmission.com/cgi-bin/mailman/listinfo/math-fun