Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wizard [2017/01/12 13:42] isabella |
wizard [2017/01/13 15:25] isabella |
||
---|---|---|---|
Line 226: | Line 226: | ||
until now. We are going to be faster now. | until now. We are going to be faster now. | ||
- | == Open the model == | + | ==== Open the model ==== |
Open the model | Open the model | ||
Line 307: | Line 307: | ||
{{:wizard:table_icon.png?nolink&|Table icon}} | {{:wizard:table_icon.png?nolink&|Table icon}} | ||
- | You can choose height and width of your design table. | + | You can choose rows and columns of your design table. |
Line 324: | Line 324: | ||
Remember to save you wizard often. Close the Wizard Editor after save and lets make a little modification in the model. | Remember to save you wizard often. Close the Wizard Editor after save and lets make a little modification in the model. | ||
- | In the first [[Calculate Map]] that //generates the initial 'seed'//, add a [[Number Value]] and link a [[Double]] to | + | In the first [[Calculate Map]] that //generates the initial 'seed'//, add a [[Number Value]] and link a [[Real value]] to |
- | its **Value** port and set the **Value Number** to **1**. Edit the Double alias, using the "Comment Edtor" editor, and | + | its **Value** port and set the **Value Number** to **1**. Edit the Real value alias, using the "Comment Editor" editor, and |
change it to "Percentage of living cells". | change it to "Percentage of living cells". | ||
- | {{:wizard:model_mod.png?nolink&|Modification in the game of life model}} | + | {{:wizard:model_mod.png?900|}} |
Edit this **Calculate Map** expression to set a cell as alive based on the **v1** value and not by **0.3**. | Edit this **Calculate Map** expression to set a cell as alive based on the **v1** value and not by **0.3**. | ||
Line 334: | Line 334: | ||
{{:wizard:exp.png?nolink&|New expression}} | {{:wizard:exp.png?nolink&|New expression}} | ||
- | Now we can control the percentage of living cells in the initial state through the value in the [[Double]] functor. | + | Now we can control the percentage of living cells in the initial state through the value in the [[Real value]] functor. |
== The Wizard Inputs == | == The Wizard Inputs == | ||
- | In the Wizard Editor, create a third page to receive the inputs and add the Double one. | + | In the Wizard Editor, create a third page to receive the inputs and add the Real value. |
{{:wizard:page3.png?nolink&700|Third page}} | {{:wizard:page3.png?nolink&700|Third page}} | ||
Line 350: | Line 350: | ||
{{:wizard:page3_view1.png?nolink&|Third page visualization}} | {{:wizard:page3_view1.png?nolink&|Third page visualization}} | ||
- | Try to add more inputs, e.g., the number of generations of the game. This is the **Iterations** [[Repeat]] functor | + | Try to add more inputs. |
- | input. Export it and add an input in the third page. Remember to save the wizard before closing the editor. | + | |
- | + | ||
- | {{:wizard:gof_export2.png?nolink&|Exporting number of iterations}} | + | |
- | {{:wizard:adding_generations.png?nolink&|Adding another input}} | + | |
- | {{:wizard:input2_desc.png?nolink&|New description for Repeat iterations}} | + | |
== Finishing == | == Finishing == | ||
- | Save and test the wizard. | + | Run the wizard and the model. |
- | {{:wizard:test_page3.png?nolink&700|Testing the wizard}} | + | {{:wizard:test_page3.png?nolink&700|Testing the wizard}} {{:wizard:run_page3.png?700|}} |
You have finished the wizard construction for the Conway's Game of Life model! You learned some new features and | You have finished the wizard construction for the Conway's Game of Life model! You learned some new features and | ||
Line 393: | Line 388: | ||
{{:wizard:code_selection.png?nolink&|Selected code}} | {{:wizard:code_selection.png?nolink&|Selected code}} | ||
- | Edit the page you want to put the video and click the **Source** button. | + | Edit the page you want to put the video and click the ** HTML Source** button. |
- | {{:wizard:source_button.png?nolink&|Source button}} | + | {{:wizard:source_button.png?700|}} |
Paste the code you have copied in the end of the text. | Paste the code you have copied in the end of the text. |