Example bundles for additional formula for FractalView FractalView can easiliy be extended - that means you can write your own formula and link it with the application. Since linking is done dynamically via bundles, there's no need to build the application again. FractalView is shipped with two bundles that contain additional formula. The first bundle, called Formula_p1, contains five functions that implement complex formula. They have been included in the application in earlier versions of this program. Therefore you should not edit them. You can look at the code and probably reuse it, but to realize your own ideas add a new bundle. The second bundle, called Formula_p2, is an example which contains only one function: exp(z+c). You can modify this bundle, if you like. If you want to create a new bundle, this can be used as a 'template'. Description of the source files: Formula_p1: complex.h and Formula.h define the Formula Class. This Class contains all necessary parameters for a type of formula including the function(C) itself. The code is already linked with the application but you need the headers. FormulaMaker.h defines the super class of the registration class Formula_p1. Code also linked with the app. Complex.h is C++ class that defines complex arithmetics. You can use +,*,-,/ operators and functions like sin, sinh, ... . Code already linked. Iterate.C contains the functions that do the iteration. Formula_p1.[hm] is the registration class that returns a list of formula objects. Formula_p2: complex.h, Formula.h, FormulaMaker.h, Complex.h are identical with the ones above. Formula_p2.[hm] contains the function and the registration class, so Iterate.C is not necessary. All you have to do if you want to add your own formula is editing Formula_p2.m. There are comments included to explain the details. Bundle Installation You can install the bundles anywhere you want, e.g. in ~/Library/FractalView. To get the bundles loaded you have to set the directory in the preferences panel of FractalView. Note: All bundles must have the suffix '.bundle'. Don't copy other bundles than Fromula bundles in the bundle directory. FractalView would try to load them and fail. Remarks If you have problems, feel free to mail me: merz@informatik.uni-siegen.de. Please send me your bundle, if you have add some interesting formula. The bundle will then be contributed in the next version of FractalView.
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.