Skip to main content

Generate a device independent vector graphic stream that can be converted to pdf, svg, or other vector graphic format.

Project description

Description:

  • Generate device independent vector graphic stream that can be converted to pdf, svg, or other vector graphic format.

  • The output stream is in pure txt, and csv format.

  • A simple stream looks like this:

    MoveTo,50,50
    LineTo,150,150
    Stroke
  • “Lukis” is the Malay word for “Draw”

  • show(GStream) converts the graphic stream to pdf, svg or other graphic file, and open it using the default viewer.

Example:

#To make a line from (0,0) to (300,300) and display the graphics:
S = moveto(0,0)\\
  + lineto(300,300)\\
  + stroke()
show(S)

Installation

Python 3 as default Python:

pip install lukis

Python as Python3:

pip3 install kopi

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lukis-0.18.5.tar.gz (19.0 kB view hashes)

Uploaded Source

Built Distribution

lukis-0.18.5-py3-none-any.whl (22.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page