HOME | DD

djeaton3162 — Beginners Guide to Scripting by-nc-sa

Published: 2008-02-12 19:56:07 +0000 UTC; Views: 21548; Favourites: 156; Downloads: 5063
Redirect to original
Description This is my first tutorial, so be kind to me. The people have spoken [link] so I spent several hours putting together a 14-page tutorial on some basic scripting techniques. Instead of providing fish, I thought I'd spend some time teaching how to fish.

Once you read through it, you should have no problem understanding the basics of what a script is doing, how to make some modifications to it, and even how to take a sample flame and make a script out of it.

I plan on doing a more advanced tutorial as well, but this one covers creating flames and transforms, modifying the transforms, and adjusting how the flame ends up in your preview window.

If you have any suggestions after reading it, I'd love to hear them in your comments. If you find it too hard or too easy, I'd like to hear that as well. If it ultimately helps you write one (or modify one in a useful way), I'd *love* to hear it.
Related content
Comments: 61

amberwind [2011-11-29 02:56:19 +0000 UTC]

Just used your instructions to write my first script from scratch... because I'm doing a challenge and can't figure out how the variations are interacting, so I wrote a script to randomize the whole shebang and I'm going to keep hitting the run button until I get something I can work with!

👍: 0 ⏩: 1

djeaton3162 In reply to amberwind [2011-11-29 15:37:13 +0000 UTC]

Cool. It is amazing how many comments I still get on those old Apo scripts.

👍: 0 ⏩: 0

Charis3 [2011-02-17 22:51:15 +0000 UTC]

This looks fascinating. Thanks!

👍: 0 ⏩: 0

garridjo [2010-12-01 12:45:01 +0000 UTC]

Thank you for this amazing tutorial, It is clear and easy to read and understand

👍: 0 ⏩: 0

SiennaBlue [2010-10-19 21:54:58 +0000 UTC]

Thank you for this.

👍: 0 ⏩: 0

Lupsiberg [2010-02-02 17:23:20 +0000 UTC]

Thank you for sharing

👍: 0 ⏩: 0

cejohnson356 [2009-11-27 19:48:24 +0000 UTC]

I am new to using Apophysis and this guide has been very helpful. Thank you for taking the time to put this together and share with those of us still learning.

👍: 0 ⏩: 0

torriedragons [2009-05-21 23:50:48 +0000 UTC]

This was so very helpful for me. Thank you SO MUCH for putting this up here on DA! I have been wanting to learn about scripting for so long! Thanks again.

👍: 0 ⏩: 0

nrubinstein [2009-04-17 22:03:08 +0000 UTC]

Thank you for the Scripting tutorial. I'm just getting started, so I'll have to work my way up to your info, but I've downloaded the basic Apophysis & have started playing with it and looking for basic info.

👍: 0 ⏩: 0

Shadow696 [2009-02-08 15:27:39 +0000 UTC]

Thanks man. I'm definitely going to try some of it.

👍: 0 ⏩: 0

CajunCamera [2009-01-29 21:03:56 +0000 UTC]

Im having a problem; I'm doing the script and when it reads "linear" in the script, it says "unknown member identifier: linear".

What did I do wrong

👍: 0 ⏩: 1

djeaton3162 In reply to CajunCamera [2009-01-30 05:44:15 +0000 UTC]

I have no idea! Are you referring to "linear", or "transform.linear"?

👍: 0 ⏩: 1

CajunCamera In reply to djeaton3162 [2009-01-31 05:46:49 +0000 UTC]

Like, it just comes up as "unknown something "linear""

Its ticking me off

👍: 0 ⏩: 1

djeaton3162 In reply to CajunCamera [2009-01-31 17:54:09 +0000 UTC]

I haven't done Apo in a while, but if you send me the script in a note, I'll take a look at it.

👍: 0 ⏩: 1

CajunCamera In reply to djeaton3162 [2009-01-31 21:56:59 +0000 UTC]

Well, its the same script you wrote

👍: 0 ⏩: 1

djeaton3162 In reply to CajunCamera [2009-02-01 23:06:13 +0000 UTC]

Sorry. I'm hopefully confused. This is a PDF tutorial, not a script.

👍: 0 ⏩: 1

CajunCamera In reply to djeaton3162 [2009-02-02 03:59:51 +0000 UTC]

I know. Dont worry; it's working now. I just got the latest version of Apoph.

👍: 0 ⏩: 0

KittyAnnStudio [2008-10-25 06:03:02 +0000 UTC]

Oh I am so exceited to read this tomorrow and get to learning

Thank you again and again dj for your wonderful gift of wisdom and sharing that give with all of us here

👍: 0 ⏩: 0

rebmemer [2008-10-18 00:46:23 +0000 UTC]

ummm where is it?

👍: 0 ⏩: 1

djeaton3162 In reply to rebmemer [2008-10-18 02:29:10 +0000 UTC]

Click on the download link. It's a PDF file.

👍: 0 ⏩: 1

rebmemer In reply to djeaton3162 [2008-10-21 08:47:39 +0000 UTC]

ok thanks i will get right on it

👍: 0 ⏩: 0

Dylananana [2008-08-23 00:25:25 +0000 UTC]

oo,
this is alot of help
thank you lots and lots and lots and lots and lots

👍: 0 ⏩: 0

StarTrekOmega [2008-08-11 14:24:26 +0000 UTC]

Finally! A script tutorial even I can I understand. Thanx lots for it.

👍: 0 ⏩: 1

djeaton3162 In reply to StarTrekOmega [2008-08-11 15:00:16 +0000 UTC]

I'm glad you like it. Let me know if it helps you create something. I'd love to see what you come up with.
Daniel

👍: 0 ⏩: 1

StarTrekOmega In reply to djeaton3162 [2008-08-11 22:16:34 +0000 UTC]

How about this little gem? :thumb94517633:

👍: 0 ⏩: 0

CGJake [2008-07-16 02:59:19 +0000 UTC]

Thanks a lot for the tutorial, but I have one question. Say at the end of the script I wanted to put Reset Location. What would the command for that be?

👍: 0 ⏩: 1

djeaton3162 In reply to CGJake [2008-07-16 05:25:52 +0000 UTC]

Do you mean Calculate Bounds?

👍: 0 ⏩: 1

CGJake In reply to djeaton3162 [2008-07-17 01:49:09 +0000 UTC]

I tried that and it didn 't really work. Do you think you could do a tutorial on how to put zooming and/out or rotating the canvas?

Or you could tell me the commands if that's easier.

Then again, you could always just ignore this comment completely and make your life easier.

👍: 0 ⏩: 1

djeaton3162 In reply to CGJake [2008-07-17 04:27:46 +0000 UTC]

I wouldn't ignore you, no matter how mentally out of it that I was. That would just be rude. The kinds of scripting I do is generally for static images, not animations. I will sometimes set a zoom value, but not "do zooming" if that makes any sense. You can also set the rotation value, but actively rotating the flame around in a circle with some kind of loop is beyond what I get into. You can find all the script commands documented at [link] and they are pretty well defined. What you are probably interested in will be in the Flame Class. That is where you can define flame.zoom, flame.scale, and RotateFlame. If you are just talking about rotating or "zooming" a specific transform and not the entire flame, check out the Transform Class of commands.

👍: 0 ⏩: 1

CGJake In reply to djeaton3162 [2008-07-18 01:00:12 +0000 UTC]

It's more like the entire flame. Thanks a million, I'll check it out.

👍: 0 ⏩: 0

mondspeer [2008-07-03 17:33:34 +0000 UTC]

Thanks for sharing the basics.

Great work.

👍: 0 ⏩: 0

Divinorum913 [2008-05-23 08:00:36 +0000 UTC]

This was very helpful for my understanding of Apophysis scripts. Thank you for your efforts of elucidating this wonderful program in layman's terms.

👍: 0 ⏩: 1

djeaton3162 In reply to Divinorum913 [2008-05-23 16:41:11 +0000 UTC]

Glad it helped. The Script Writing Script that I posted kinda automates the process. But the basic understanding of what I went through in the tutorial was a major breakthrough for me when it came to understanding scripts and what they do. If it helps you create a new script, I'd love to check it out.

👍: 0 ⏩: 0

BlackJack-1 [2008-05-13 06:32:27 +0000 UTC]

cool thx, gonna give it a try

👍: 0 ⏩: 1

djeaton3162 In reply to BlackJack-1 [2008-05-13 17:41:34 +0000 UTC]

Let me know if it helps you produce a script.
D.

👍: 0 ⏩: 1

BlackJack-1 In reply to djeaton3162 [2008-05-16 18:24:05 +0000 UTC]

so far it helped me understand scripts . I'll look further into it this weekend

👍: 0 ⏩: 0

RedHotCold [2008-03-16 00:42:35 +0000 UTC]

This tutorial made a lot of sense, I feel like I have my foot in the right direction in understanding Apophysis scripts. Thanks a lot! I look forward to the sequel!

👍: 0 ⏩: 0

DemonHearts [2008-03-14 20:53:25 +0000 UTC]

Thank you so much! I tried to you Aphophysis a few years ago and preceded to fail miserably. LOL Hopefully this will make me better!

Thanks so much!

👍: 0 ⏩: 0

MarielFoster [2008-03-03 06:55:29 +0000 UTC]

Having struggled with .flame files... this is the most cogent and helpful tutorial to get someone who has been mystified by Apo going!

Thanks Daniel

👍: 0 ⏩: 0

drriquet [2008-02-21 22:21:36 +0000 UTC]

thanks, that's really what i want !!

👍: 0 ⏩: 0

anyiewo [2008-02-15 16:10:48 +0000 UTC]

Very cool, I'll have to try this sometime.

👍: 0 ⏩: 0

baba49 [2008-02-15 02:38:35 +0000 UTC]

I just eye scanned the script and know that I will love work my way through it. I know that I will learn a lot. Thank you so much for sharing your knowledge

👍: 0 ⏩: 0

Shadoweddancer [2008-02-13 23:03:56 +0000 UTC]

Thank you Daniel, I really appreciate all you do for the fractal community

👍: 0 ⏩: 0

Isis44 [2008-02-13 13:16:17 +0000 UTC]

Its very generous of you to share your knowledge with us once again. I appreciate all your hard work,thankyou. Catherine

👍: 0 ⏩: 0

purple-whirlpool [2008-02-13 09:43:26 +0000 UTC]

Thank you so much Daniel. I shall read through it and have a shot at it. I'm looking forward to it. Only thing I will say right now though is that I can't save the file! I'll have to read it online.

👍: 0 ⏩: 2

djeaton3162 In reply to purple-whirlpool [2008-02-13 15:15:17 +0000 UTC]

That's weird. Drop me a note with your email address and I'd be happy to email it to you.

👍: 0 ⏩: 1

purple-whirlpool In reply to djeaton3162 [2008-02-14 09:02:16 +0000 UTC]

Thanks Daniel but I've managed it now. I right clicked the download button and saved target as...
I should know better, had that trouble before! :d'oh:

👍: 0 ⏩: 0

Isis44 In reply to purple-whirlpool [2008-02-13 13:24:24 +0000 UTC]

Click the little floppy disk icon at the top of the pdf file(above the heading "Beginners Guide to...),a dialog box will open asking you where you'd like to save the file on your computer, obvious choice would be My Documents, and then click on save in dialog box.

👍: 0 ⏩: 1

purple-whirlpool In reply to Isis44 [2008-02-14 08:59:05 +0000 UTC]

Thanks but that just saves the picture! I've saved it now by clicking on the download and 'save target as'. I should have known really, I've had that trouble before.

👍: 0 ⏩: 0

zweeZwyy [2008-02-13 02:35:37 +0000 UTC]


Got me hook, line & sinker!
Let you know when I get results.

👍: 0 ⏩: 0


| Next =>