FarmerDave
(sage)
09/14/08 11:31 PM
Re: Revolutionary new way of focusing! No less!

Sunday update: the mo' better Bahtinov Mask Generator version 0.3!
  • Fixed a misspelling of Bahtinov in the name of the generated file. Sorry Pavel, and thanks to John W. for pointing it out.
  • Fixed a bug in which the "horizontal stripe count" was not actually being recognized. Thanks to Kevin R. (chupacabra) for spotting it and not beating me up about it.
  • Reordered the XML comments in the SVG file so that the parameters that are entered appear at the top of the comments section, in the order they are entered in the generator form.


About that last bit - SVG files are a flavor of XML, which is a text-based format. The practical upshot of which is that you can open the SVG file with any text editor.

I'm actually emitting the parameters entered (as well as some calculated values) as XML comments - you'll see them toward the bottom as text surrounded by <!-- -->. So, if you can't remember what the values you used to generate a given file are, just open it in a text editor - or, if you're viewing an SVG file in Firefox, just right click an select "View Page Source," then scroll to the bottom.

I'm somewhat amused to see that I'm getting hits from all over the world, including via automatic translators - I wonder how well "yada, yada, yada" in my lame non-EULA translates.

David



CN Forums Home



Cloudy Nights Sponsor: Astronomics