Piet-Q

Piet-Q is a modification of the esoteric programming language named Piet by David Morgan-Mar created by poiuy_qwert. Piet is a 2D language and uses colors in a bitmap as the commands to be executed. Similarly, Piet-Q uses a bitmap as the program, but has a different way of executing commands. The main difference is that in Piet commands are called by the difference in the HUE from one color to the next. In Piet-Q the color of the pixel is split into its Red, Green, and Blue (RGB) parts. The command is the integer for the Red section of the color, and the Blue and Green can be parameters for that command.

Vocabulary

 * Command Pointer (CP): The pointer to the coordinates of the current executing command.
 * Directional Pointer (DP): The direction the CP will move after command execution. The DP can be 0, 1, 2, or 3 meaning Right, Down, Left, Up respectively.
 * Stack: There are 256 stacks named 0-255 which can store an unlimited (not taking into account the interpreter's limitations) amount of integers.
 * Item: One of the integers in a stack which are referenced by an integer, 0 being the first item. An empty or non-existant item is 0.
 * R: The Red section of the current color, which is also the command.
 * G: The Green section of the current color, which can also be the first parameter for a command.
 * B: The Blue section of the current color, which can also be the second parameter for a command.

Overview
Piet-Q programs are written inside bitmap files. The CP starts at the top left corner of the image which is coordinates (0,0). The program executes the command at the CP then moves the the next command depending on the DP. The program continues execution untill the CP is outside of the bitmap or the command at the CP is the End Program command.

Using Piet-Q
An interpreter for Piet-Q can be found Here, created by the original author poiuy_qwert.

Hello, world!
This is a basic Hello World program in Piet-Q. It outputs "Hello, World!" to the screen.