Skip to content

firemark/fractalang

Repository files navigation

Fractalang

Generate fractals with the hieroglyphs-like programming language.

Fractalang tutorial

Online version of the editor

Video Fractalang tutorial

Documentation

How to build and run

The project uses nodejs, webpack and typescript.

npm install
npm run build-node
npm run generate-icon-tokens
npm build-web
# Now open dist/index.html

Develop mode

npm run serve-web

Structure of the project

TODO

TODO list

  • More tutorials! (video/docs)
  • The editor:
    • Better GUI.
    • History of changes.
    • The visible cursor in the debug mode.
    • Show the stack of the program in the debug mode.
    • Allow to change heading on start of drawing.
    • The tiling mode (render image multiple times as tiles)
    • Custom values with sliders.
  • Rendering:
    • Allow gradient on the background.
    • More colors instead of two colors.
    • Shadow / Lighting strokes.
    • Paint/Pencil-like strokes.
    • Rendering to canvas instead of SVG.
  • New Tokens:
    • Mirror (Axial symmetry) token.
    • Point reflection token.
    • "Dash/Dot line" tokens.
    • "Drawing arc" tokens based on ellipse.
    • Square roots.
  • Core:
    • Starting stave.
    • Nested repeat/reverse tokens.
    • Animations?
  • Bugs:
    • A problem with clicking on a token in a stave.

About

Generate fractals with hieroglyphs-like programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published