60
edits
No edit summary |
|||
Line 32: | Line 32: | ||
| [[File:jittering.gif|nestedForLoops]] | | [[File:jittering.gif|nestedForLoops]] | ||
| Nested for Loop with a certain offset per point & frame<br><br> [[Media:funny_jittering5.pde|funny_jittering5.pde]] | | Nested for Loop with a certain offset per point & frame<br><br> [[Media:funny_jittering5.pde|funny_jittering5.pde]] | ||
|- | |||
|} | |||
==Algorithm for Computers 2 — 9.11.18== | |||
{| border="1" | |||
|- | |||
! style="width: 50%" | Result | |||
! style="width: 50%" | Algorithm | |||
|- | |||
| [[File:rotation1.jpg|lines & rectangle rotation algorithm|600px]] | |||
| The same random points are used to generate rectangles and lines, and are rotated afterwards. One rectangle differs in color.<br><br> | |||
|- | |||
|} | |||
{| border="1" | |||
|- | |||
! style="width: 50%" | Result | |||
! style="width: 50%" | Algorithm | |||
|- | |||
| [[File:rotation3.jpg|lines & rectangle rotation algorithm|600px]] | |||
| Another outcome of the algorithm above..<br><br> | |||
|- | |- | ||
|} | |} |
edits