🧪 Version 0.3.1 is our alpha release candidate. Please send us bug reports and suggestions!

Sketchingpy

Creative coding and interactive science everywhere for everyone: web, desktop, mobile, Jupyter, and more. Open source!

Reference

This page contains information on everything that Sketchingpy offers. For more information on how to use this library, see the guides and examples.

For those trying to extend Sketchingpy or working on changing its underlying code, see devdocs for Python docstring.

Arc

Functionality for drawing partial circles / ellipses.

Buffer

Functionality for putting complex drawing into fast buffers.

Data

Logic for reading and writing data files across different platforms.

Dialog

Tools for showing simple dialog boxes.

Ellipse

Functions for drawing ellipses and circles.

Geo Utils

Utility functions to assist geospatial visualization and maps.

Image

Tools to load, display, and save image files of various formats.

Joystick (future)

Methods to work with alternative joystick-like inputs.

Keyboard

Methods to work with keyboard input and state.

Line

Simple tools to draw straight lines.

Mouse / Touchscreen

Options for working with mouse state and buttons with touchscreen compatibilty.

Pixel

Set single pixel values.

Rectangle

Flexible rectangle and square drawing capabilities.

Renderers

Support for different platforms and rendering modes.

Shape

Tools for creating and drawing complex shapes with straight lines and edges.
end

Sound (future)

Functions for playing and managing sounds.

Style

Methods for managing drawing colors and styles.

System

Functions for working with system state.

Text

Tools for loading fonts and drawing text.

Transform

Transform matrix manipulation.