Post Made Community Wiki by Dennis
19 Eighteen char snippet
source | link
0 0 1 1 5 5 rectstroke

Draws a stroked rectangle onto the canvas in the lower left corner of your page.

Twenty-one char snippet

4 4 moveto 2 5 lineto

Puts a line segment into the drawing buffer.

0 0 1 1 rectstroke

Draws a stroked rectangle onto the canvas.

1 1 5 5 rectstroke

Draws a stroked rectangle onto the canvas in the lower left corner of your page.

Twenty-one char snippet

4 4 moveto 2 5 lineto

Puts a line segment into the drawing buffer.

18 Eighteen char snippet
source | link

0 0 6 0 5 arc

Changes the transformation matrix so that your drawings are henceforth positioned 20 units more right. This is useful if you want to repeat the same drawing routine in different places. PostScript coordinates are measured from the bottom left corner of your drawing surface and each unit is one PostScript Point (a unit Adobe invented) that is 1/72 of an inch.

Eighteen char snippet

0 0 1 1 rectstroke

Draws a stroked rectangle onto the canvas.

0 0 6 5 arc

Changes the transformation matrix so that your drawings are henceforth positioned 20 units more right. This is useful if you want to repeat the same drawing routine in different places. PostScript coordinates are measured from the bottom left corner of your drawing surface and each unit is one PostScript Point (a unit Adobe invented) that is 1/72 of an inch.

0 0 6 0 5 arc

Changes the transformation matrix so that your drawings are henceforth positioned 20 units more right. This is useful if you want to repeat the same drawing routine in different places. PostScript coordinates are measured from the bottom left corner of your drawing surface and each unit is one PostScript Point (a unit Adobe invented) that is 1/72 of an inch.

Eighteen char snippet

0 0 1 1 rectstroke

Draws a stroked rectangle onto the canvas.

17 Spelling, formatting and idiomatic English
source | link

PostScript can be executed by many devices, and programs. Aside GhostScript, if you include a encapsulation header, you can use programs such as Word, Illustrator, Indesign as preview (possibly live if you link the file) for your code. This means that surprisingly many users even on the relatively programming language poor Windows platform can execute your program with no extra installation.

putsPuts the number 22 topmost on your execution stack. Nothing fancy done with this yet, but hey, we have allocated some memory.

thirteenThirteen char snippet

Make a 5 degree arc with a radius of 6 at the origin 0(0, 0). Note this does not actually draw anything yet; it prepares for drawing by constructing something that's called a 'user path'.

fourteenFourteen char snippet

Changes the transformation matrix so that your drawings are henceforth positioned 20 units more right. This is useful if you want to repeat the same drawing routine in different places. PostScript coordinates are measured from the bottom left corner of your drawing surface and each unit is one PostScript Point (a unit Adobe invented) that is one 72th1/72 of an inch.

PostScript can be executed by many devices, and programs. Aside GhostScript, if you include a encapsulation header, you can use programs such as Word, Illustrator, Indesign as preview (possibly live if you link the file) for your code. This means that surprisingly many users even on the relatively programming language poor Windows platform can execute your program with no extra installation.

puts the number 2 topmost on your execution stack. Nothing fancy done with this yet but hey we have allocated some memory.

thirteen char snippet

Make a 5 degree arc with a radius of 6 at origin 0 0. Note this does not actually draw anything yet; it prepares for drawing by constructing something that's called a 'user path'.

fourteen char snippet

Changes the transformation matrix so that your drawings are henceforth positioned 20 units more right. This is useful if you want to repeat the same drawing routine in different places. PostScript coordinates are measured from the bottom left corner of your drawing surface and each unit is one PostScript Point (a unit Adobe invented) that is one 72th of an inch.

PostScript can be executed by many devices, and programs. Aside GhostScript, if you include a encapsulation header, you can use programs such as Word, Illustrator, Indesign as preview (possibly live if you link the file) for your code. This means that surprisingly many users even on the Windows platform can execute your program with no extra installation.

Puts the number 2 topmost on your execution stack. Nothing fancy done with this yet, but hey, we have allocated some memory.

Thirteen char snippet

Make a 5 degree arc with a radius of 6 at the origin (0, 0). Note this does not actually draw anything yet; it prepares for drawing by constructing something that's called a 'user path'.

Fourteen char snippet

Changes the transformation matrix so that your drawings are henceforth positioned 20 units more right. This is useful if you want to repeat the same drawing routine in different places. PostScript coordinates are measured from the bottom left corner of your drawing surface and each unit is one PostScript Point (a unit Adobe invented) that is 1/72 of an inch.

16 Spelling, formatting and idiomatic English
source | link
15 fourteen char snippet
source | link
14 12 char snipet flow control 12 char arc
source | link
13 13 cgar snipet flow control
source | link
12 added 246 characters in body
source | link
11 For loop
source | link
10 added 186 characters in body
source | link
9 added 549 characters in body
source | link
8 added 549 characters in body
source | link
7 Sine - five chars
source | link
6 added 214 characters in body
source | link
5 strings
source | link
4 added 11 characters in body
source | link
3 fixed typos
source | link
2 added 2
source | link
1
source | link