ij-macro-programming-workshop
Part 1 - Programming Basics
In the first part you will learn the basics of programming.
Exercises
Getting started: “Hello World” and recording macros
Hello World version 1
Hello World version 2
Hello World version 3
Recording macros
Numbers
Literals and special values
Calculations
Comparing floats
Strings
Concatenation 1
Concatenation 2
Concatenation 3
Regular Expressions
Booleans
Boolean Expressions
Conway’s Game of Life
Variables
Assignment
Copy by value
Pre- and Postincrement
Arrays
Creating Arrays and accessing elements
Copy by reference
Concatenation
Conditionals
Conditionals 1 - even/odd
Conditionals 2 - max
For-Loop
For loop 1 - iteration
For loop 2 - iteration and arrays
For loop 3 - iteration and images
For loop 4 - iteration and animation
While-Loop
While loop 1 - Newton’s method
While loop 2 - random walk
Do-While-Loop
Do while loop
Functions
Functions - factorial
Functions - turtle graphics
Functions - recursive functions
Functions - recursive curves
Macros
Macros as plugins
Macro sets