No description
Find a file
2026-04-03 11:07:00 +02:00
css brushed up 2026-04-03 10:52:21 +02:00
img don't be eval 2024-12-06 23:02:01 +01:00
js files for webpack 2026-04-03 11:07:00 +02:00
szpaks bugfixes and looping 2024-12-07 22:51:55 +01:00
.editorconfig don't be eval 2024-12-06 23:02:01 +01:00
.gitattributes don't be eval 2024-12-06 23:02:01 +01:00
.gitignore brushed up 2026-04-03 10:52:21 +02:00
Dockerfile brushed up 2026-04-03 10:52:21 +02:00
favicon.ico files for webpack 2026-04-03 11:07:00 +02:00
icon.png files for webpack 2026-04-03 11:07:00 +02:00
icon.svg files for webpack 2026-04-03 11:07:00 +02:00
index.html brushed up 2026-04-03 10:52:21 +02:00
package-lock.json files for webpack 2026-04-03 11:07:00 +02:00
package.json files for webpack 2026-04-03 11:07:00 +02:00
README.md small updates 2024-12-06 23:19:21 +01:00
robots.txt files for webpack 2026-04-03 11:07:00 +02:00
screenshot.png small updates 2024-12-06 23:20:22 +01:00
site.webmanifest files for webpack 2026-04-03 11:07:00 +02:00
szpakowski.png don't be eval 2024-12-06 23:02:01 +01:00
webpack.common.js don't be eval 2024-12-06 23:02:01 +01:00
webpack.config.dev.js don't be eval 2024-12-06 23:02:01 +01:00
webpack.config.prod.js don't be eval 2024-12-06 23:02:01 +01:00

Szpakowski

An algorithmic tribute to the Polish artist Wacław Szpakowski

Szpakowski's Artwork Screenshot

at this moment still work in progress...

What is it?

  • Think Logo, the 'turtle' language from the eighties.
  • Because Szpakowski's drawings all follow the principle of the single line.
  • it has the basic commands to move the turtle:
  • start(x,y): You MUST have this as first statement.
  • go(distance)
  • left(degrees)
  • right(degrees)
  • on top of that it has:
  • pillars(number, length, shift, direction=DOWN): the turtle follows a pillary pattern
    • number: the number of pillars (running back and forth)
    • length: the distance per run
    • shift: in-/decrease in length
    • direction: UO|DOWN|BOTH
  • moving_pillars(n, length, shift=0, direction=DOWN): the pillars move
    • number: the number of pillars (running back and forth)
    • length: the distance per run
    • shift: shift per run
    • direction: UP|DOWN
  • staircase(number, size, direction = DOWN)
    • number: the number of steps
    • size: the step size
    • direction: UP|DOWN

... more functions will follow

Run

  • npm run start

  • the console has code completion, but right now it's limited: only once there is only 1 alternative, you can press tab to complete.

  • the interpreter is based on 'Lox' from the 'Crafting Interpreters' book.

  • use var to declare a variable

  • print(...) prints to the console

  • statements must end with ';' (//TODO remove)

  • not yet:

    • loops
    • branching