W2513 Emergence & Lindenmayer Systems (Part 3)
Emergence & Lindenmayer Systems (Part 2)[edit]
Prerequisites[edit]
Research[edit]
Background[edit]
Experiment[edit]
Getting Started[edit]
Begin a new project
Create an Igis shell project within your "project" directory.
cd ~/projects
git clone https://github.com/TangoGolfDigital/IgisShell IgisShell-LSystems
Enter into the Sources directory of the new project.
cd IgisShell-LSystems/Sources/IgisShell/
Build the project. (This may take some time.)
swift build
Run the project.
swift run
Open a browser (or use a new tab on an already-open browser). Go to the URL: http://www.codermerlin.com/users/user-name/dyn/index.html
NOTE: You MUST change user-name to your actual user name. For example, http://www.codermerlin.com/users/john-williams/dyn/index.html
You'll know your successful if you see the title bar change to "Coder Merlin: IGIS". (The browser window will be blank because we haven't added any graphics yet.)
Helpful hint: It's useful to bookmark this page in your browser.
First Steps[edit]
Add your LSystem file from your previous project to your current project.
Warning: Be careful to rename this file during the copy operation so that you don't overwrite the current main.swift.
Assuming that your previous project is in the directory ~/Merlin/2512 CS-II Lindenmayer Systems/100 Lindenmayer/C100 LSystem-Swift:
cp "~/Merlin/2512 CS-II Lindenmayer Systems/100 Lindenmayer/C100 LSystem-Swift/main.swift" LSystem.swift