Manual Flame Fractals

From MediaWiki
Revision as of 22:49, 5 March 2015 by Thargor6 (Talk | contribs)

Jump to: navigation, search

Scripts

Scripts are a very powerful and flexible way for users to extend the software. They are written in the Java programming language and are not compatible with scripts known from the Apophysis software (which are written in the Delphi-dialect of pascal)

Even if most available scripts are used to create (random) flames, they are not restricted to create flames. You could also create a calculator or anything else you can imagine.

How do scripts work

JWildfire uses it's integrated Java-compiler to compile the scripts on-the-fly into executable code. This means that could also perform serious calculations in your scripts, because they are fast. And you may use the common Java-libraries and all libraries which are part of JWildfire.

How to use existing scripts from other users

Create a script-folder

In order to work with scripts, you have to first to create a folder were your scripts are stored. As with all of your own data, this folder should be OUTSIDE of the JWildfire folder. So, if you remove/update the JWildfire software, your data is always kept safe. If you have no idea how to name it, you can just create a folder "D:\JWildfire-Data\scripts"

Tell the software about your script-folder

After creating the folder you must enter it's complete path into the Preferences. So, open the Preferences-window from within the main window-menu and locate the property tinaJWFScriptPath.