2 ms·
Back in the day -- like way, way back before Adobe Illustrator -- the go-to vector illustration program for professional workflows was Zenographics Mirage. Mira
by bitwize 5y ago
Back in the day -- like way, way back before Adobe Illustrator -- the go-to vector illustration program for professional workflows was Zenographics Mirage. Mirage ran bit-identical across platforms including the VAX and PC -- because it was based on a virtual machine. Its constituent applications (called Chart, Ego, and Autumn) were implemented in terms of this machine. I found this out by examining some example scripts; beneath a "you are not required to understand this" type comment in one of the scripts were commands in Mirage's scripting language that consisted of the word "do" followed by some integers.
Using both these scripts and the included "Op Code Monitor", which flashed opcodes and their meanings as they were executed, I partially reverse engineered these bytecodes and used them to add new Mirage commands. One of them was a rectangle command for Ego that drew polylines instead of rectangle objects, so the rectangles could be rotated.