[chaoscope] BUG - wrong file syntax for IFS in coefficients mode (CORRECTED)

  • From: Chaoscope <chaoscope@xxxxxxxxxxxxxx>
  • To: chaoscope@xxxxxxxxxxxxx
  • Date: Thu, 22 Apr 2004 00:51:59 +0100

Hi,

First of all, I know it doesn't make much sense that a developer reports his own bugs, especially when they're corrected. I'm doing it so that if you come across them, you already know they've been sorted out. Plus it proves if needed that I should go out a bit more often and meet people. This said...

Today's bug technical background :

Version 0.1 uses coefficients for IFS matrices. Version 0.2 switched to transformations. Ideally we should get both, which we will in a future version.
To enable you to convert old IFS .cla files to .csattr, I should convert matrices coefficients to transformations (shear, rotation, scale...) which is a bit of a hassle (except for translation). Instead, the keyword "coefficients" is added to the parameters file, and the coefficients are written as they are. So Chaoscope 0.2 handles both types of parameters, and displays one type or the other depending on the "coefficients" keyword being present or not.


Unfortunately, when a coefficients IFS is saved, the keyword isn't added. When you load such a file, you will see the last few parameters set to zero and most likely no attractor on the screen.

A quick workaround is to add the "coefficients" keyword manually to the parameters file, before the "matrices" keyword.

This bug has been corrected.

Nicolas Desprez
======================================================
The Chaoscope mailing-list
Archives : //www.freelists.org/archives/chaoscope
Admin contact : chaoscope@xxxxxxxxxxxxxx
Web site : http://www.chaoscope.org
======================================================

Other related posts:

  • » [chaoscope] BUG - wrong file syntax for IFS in coefficients mode (CORRECTED)