Skip to content

Commit

Permalink
0.0.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
s-m-e committed Jul 30, 2021
2 parents 511fa18 + a53c636 commit 3b04793
Show file tree
Hide file tree
Showing 66 changed files with 1,130 additions and 628 deletions.
13 changes: 13 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changes

## 0.0.5 (2021-07-30)

- FEATURE: Python 3.9 support.
- FEATURE: Added `draw_bezier` method to `DrawgingBoard`.
- FEATURE: `Matrix` can rotate vector arrays.
- FEATURE: Added operations (add, subtract) between vectors and vector arrays.
- FEATURE: Vectors and vector arrays expose angles.
- FEATURE: Matrix chat room for support.
- FEATURE: Groups.io mailing list for support.
- FIX: Some text anchors would fail with activated type checking.
- DOCS: Added project logo.
- DOCS: Small corrections in various places.

## 0.0.4 (2020-12-14)

- FIX: Center offset in `DrawgingBoard` cares about subpixels.
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![bewegung_logo](https://github.com/pleiszenburg/bewegung/blob/master/docs/_static/logo01.png?raw=true "bewegung logo")

# BEWEGUNG

*/bəˈveːɡʊŋ/ ([German, noun, feminine: motion/movement/animation](https://dict.leo.org/englisch-deutsch/bewegung))*
Expand All @@ -8,6 +10,8 @@
[![pypi_version](https://img.shields.io/pypi/v/bewegung.svg?style=flat-square "pypi version")](https://pypi.python.org/pypi/bewegung)
[![conda_version](https://img.shields.io/conda/vn/conda-forge/bewegung.svg?style=flat-square "conda version")](https://anaconda.org/conda-forge/bewegung)
[![pypi_versions](https://img.shields.io/pypi/pyversions/bewegung.svg?style=flat-square "Available on PyPi - the Python Package Index")](https://pypi.python.org/pypi/bewegung)
[![chat](https://img.shields.io/matrix/bewegung:matrix.org.svg?style=flat-square "Matrix Chat Room")](https://matrix.to/#/#bewegung:matrix.org)
[![mailing_list](https://img.shields.io/badge/mailing%20list-groups.io-8cbcd1.svg?style=flat-square "Mailing List")](https://groups.io/g/bewegung-dev)

## Synopsis

Expand Down Expand Up @@ -59,8 +63,8 @@ This resulting `video.mp4` file should look like this:

## Usage

See [documentation](https://bewegung.readthedocs.io) (work in progress).
See [documentation](https://bewegung.readthedocs.io).

`bewegung`'s development status is "well-tested alpha". Its API should not be considered stable until the project is labeled "beta" or better, although significant changes are very unlikely.

`bewegung` can be drastically accelerated by deactivating debugging features. See [relevant section in the documentation](https://bewegung.readthedocs.io/en/latest/debug.html).
`bewegung` can be drastically accelerated by deactivating debugging features. See [relevant section in the documentation](https://bewegung.readthedocs.io/en/latest/performance.html#typecheckingperformance).
2 changes: 1 addition & 1 deletion demo/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
demo/demo.py: Package demo
Copyright (C) 2020 Sebastian M. Ernst <[email protected]>
Copyright (C) 2020-2021 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion demo/demo_mpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
demo/demo_mpl.py: Package demo - matplotlib
Copyright (C) 2020 Sebastian M. Ernst <[email protected]>
Copyright (C) 2020-2021 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion demo/demo_mpl_fast.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
demo/demo_mpl_fast.py: Package demo - matplotlib accelerated
Copyright (C) 2020 Sebastian M. Ernst <[email protected]>
Copyright (C) 2020-2021 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
2 changes: 1 addition & 1 deletion docs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
docs/__init__.py: Docs root
Copyright (C) 2020 Sebastian M. Ernst <[email protected]>
Copyright (C) 2020-2021 Sebastian M. Ernst <[email protected]>
<LICENSE_BLOCK>
The contents of this file are subject to the GNU Lesser General Public License
Expand Down
Binary file added docs/_static/logo01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/_static/logo01.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions docs/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{% extends "!layout.html" %}

{% block menu %}

{{ super() }}

{% if sidebar_external_links %}

<p class="caption">
<span class="caption-text">
{% if sidebar_external_links_caption %}
{{ sidebar_external_links_caption }}
{% else %}
External links
{% endif %}
</span>
</p>

<ul>
{% for text, link in sidebar_external_links %}
{% if hasdoc(link) %}
<li class="toctree-l1"><a href="{{ pathto(link) }}">{{ text }}</a></li>
{% else %}
<li class="toctree-l1"><a href="{{ link }}">{{ text }}</a></li>
{% endif %}
{% endfor %}
</ul>

{% endif %}

{% endblock %}
14 changes: 14 additions & 0 deletions docs/backends.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Inventory of ``backends``
=========================

All backends can be accessed via the ``backends`` dictionary, which represents the inventory of backends.

.. code:: ipython
>>> from bewegung import backends
>>> backends.keys()
dict_keys(['drawingboard', 'pillow', 'datashader', 'cairo', 'matplotlib'])
>>> [backend for backend in backends.values()]
[<DrawingBoardBackend>, <PillowBackend>, <DatashaderBackend>, <CairoBackend>, <MatplotlibBackend>]
Backends are "lazy" objects. They only import the underlying library if actually used. For most intents and purposes, working with :meth:`bewegung.Video.canvas` is sufficient. Further details about the common structure of backends are provided in the :ref:`sections on custom backends <custombackends>`.
Loading

0 comments on commit 3b04793

Please sign in to comment.