Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
repository:cat_toy [2021/04/07 22:37] porcaro1 |
repository:cat_toy [2021/04/07 22:43] (current) porcaro1 |
||
|---|---|---|---|
| Line 5: | Line 5: | ||
| ===Minimally Working Program=== | ===Minimally Working Program=== | ||
| - | [https://www.glowscript.org/#/user/porcaro1/folder/RepositoryPrograms/program/CatToy-Incomplete | Link] | + | [[https://www.glowscript.org/#/user/porcaro1/folder/RepositoryPrograms/program/CatToy-Incomplete | Link]] |
| - | <code Python [enable_line_numbers="true", highlight_lines_extra="0"]> | + | <code Python [enable_line_numbers="true", highlight_lines_extra="7,8,24,26,27,28,30,31,32,37,45,46,51,52,53,58,59,60"]> |
| GlowScript 2.7 VPython | GlowScript 2.7 VPython | ||
| Line 56: | Line 56: | ||
| ===Working Code=== | ===Working Code=== | ||
| - | [https://www.glowscript.org/#/user/porcaro1/folder/RepositoryPrograms/program/CatToy-Solution1 | Link] | + | [[https://www.glowscript.org/#/user/porcaro1/folder/RepositoryPrograms/program/CatToy-Solution1 | Link]] |
| **Horizontal Spring (with Optional Linear Damping)** | **Horizontal Spring (with Optional Linear Damping)** | ||
| <code Python [enable_line_numbers="true", highlight_lines_extra="0"]> | <code Python [enable_line_numbers="true", highlight_lines_extra="0"]> | ||
| Line 123: | Line 123: | ||
| | | ||
| **Vertical Spring with Gravity** | **Vertical Spring with Gravity** | ||
| - | [https://www.glowscript.org/#/user/porcaro1/folder/RepositoryPrograms/program/CatToy-Solution2 | Link] | + | [[https://www.glowscript.org/#/user/porcaro1/folder/RepositoryPrograms/program/CatToy-Solution2 | Link]] |
| - | <code Python [enable_line_numbers="true", highlight_lines_extra="0"]> | + | <code Python [enable_line_numbers="true", highlight_lines_extra="4,12,13,14,24,25,41,42,43,44,47,57"]> |
| GlowScript 2.7 VPython | GlowScript 2.7 VPython | ||