SanguineL / PietPlus

A JavaScript-based Piet IDE and Interpreter

Home Page:https://sanguinel.github.io/PietPlus/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PietPlus

A JavaScript-based IDE and Interpreter for Piet. See it in action here!

Piet is an esoteric programming language, which is based on the geometric artist Piet Mondriaan. The language specifies actions based on the transitions of colors. For a detailed explanation, please visit the official website

WORK-IN-PROGRESS

  • Color Filter

Features

  • IDE
  • Interpreter
  • Real-time runtime display (active codels, current stack, CC, DP)
  • Self-Correcting Color List
  • Step Debugging
  • Block Size Display
  • Fill Option
  • Import from Image
  • Export to Image
  • Grid Scaling instead of Scrolling
  • Different Codel Sizes
  • ascii-piet support
  • Link shareability

Future Additions

  • Different Codel Sizes
  • Improved Layout
  • Compiler??
  • Shortcuts (Ex: 'x' for 'push')
  • Color filter (only allow typical 20 Piet colors)

Note: This is my first ever legitimate attempt at developing in JavaScript. Some code has been taken from other sources, especially in the beginning stages of development. I will attribute each source I have used below.

Second Note: According to my tests, the Interpreter is correct in its traversal and behavior. If it is not, please let me know.

Third Note: Would not recommend having a grid much larger than 50x50 for performance.

Resources Used

About

A JavaScript-based Piet IDE and Interpreter

https://sanguinel.github.io/PietPlus/


Languages

Language:JavaScript 86.2%Language:HTML 9.0%Language:CSS 4.8%