Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
wizard [2017/01/12 13:44] isabella |
wizard [2017/01/17 14:30] (current) 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 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 373: | Line 368: | ||
| I have choosed this one: | I have choosed this one: | ||
| - | http://www.youtube.com/watch?hl=en&v=XcuBvj0pw-E | + | https://youtu.be/uUtQZ41LSLk |
| Click on the **Share** button. | Click on the **Share** button. | ||
| Line 380: | Line 375: | ||
| Click on the embed button: {{:wizard:embed_button.png?nolink&|Embed}} | Click on the embed button: {{:wizard:embed_button.png?nolink&|Embed}} | ||
| - | |||
| - | Select the //Use old embed code option// and your size option. | ||
| - | |||
| - | {{:wizard:old_code.png?nolink&|Old code option}} | ||
| - | |||
| - | This is important to keep compatibility. | ||
| - | |||
| - | <note warning>Select the //Use old embed code option// when embedding Youtube videos.</note> | ||
| Select and copy the code in the text box. | Select and copy the code in the text box. | ||
| Line 393: | Line 380: | ||
| {{: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 body of the text. |
| {{:wizard:code_pasted.png?nolink&|Code pasted}} | {{:wizard:code_pasted.png?nolink&|Code pasted}} | ||