Skip to main content

An extended version of 3D rendering package PyWireframe, with some bugs fixed.PyWireframe是一个使用Python turtle绘制3D图形的库, 使用简单的代码实现复杂的3D场景。这是PyWireframe包的扩展版本, 修复了PyWireframe的大部分bug。

Project description

This is an extended version of package PyWireframe, aiming at using fewer code to render 3D scenes. Some bugs from the old version have been fixed.

Besides, we added some new features such as drawing polygon and FPS displaying.

PyWireframe是一个使用Python turtle绘制3D图形的库, 使用简单的代码实现复杂的3D场景。

这是PyWireframe包的扩展版本。旧版本中的一些错误已经被修复。

此外,我们还添加了一些新功能,如绘制多边形和FPS显示等。

运行效果:

Preview1 Preview2

以下为PyWireframe原版的部分英文说明:

PyWireframe-extended V0.5

PyWireframe is a Python library for creating 3D wireframe graphics. It’s highly inefficient (it uses turtle graphics) and doesn’t support rotation.

Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install PyWireframe.

# pip install PyWireframe

Usage

PyWireframe has three different ways of rendering - [Objects](https://github.com/HyperHamster535/PyWireframe/wiki/Objects), [Shapes](https://pywireframe.readthedocs.io/en/latest/Usage/Objects.html), and [Dyanmic Objects](https://pywireframe.readthedocs.io/en/latest/Usage/Dynamic-Objects.html). For info on the syntax for using these, [see the doc](https://github.com/HyperHamster535/PyWireframe/wiki/).

To start PyWireframe, use start().

To add objects use function addObject.

To render all existing objects, use refresh().

To exit PyWireframe, use exit().

You can also stop PyWireframe from printing to the console with printMode(mode). More info can be found on the [readthedocs.io](https://pywireframe.readthedocs.io/en/latest/).

上传者 Uploader:

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

PyWireframe-extended-0.5.1_.tar.gz (6.3 kB view details)

Uploaded Source

File details

Details for the file PyWireframe-extended-0.5.1_.tar.gz.

File metadata

  • Download URL: PyWireframe-extended-0.5.1_.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.7.8

File hashes

Hashes for PyWireframe-extended-0.5.1_.tar.gz
Algorithm Hash digest
SHA256 6f8f759831aa8e71d6d5f9df291c14af738112a95624f0f6cd37ed9218262a5c
MD5 8e6c31cf0d5b62d6e2799e5bd827479f
BLAKE2b-256 4b166789cb6b36c826ae34003ca8e5457bd8f05d9e4e87e92378bd23ba0ea4f8

See more details on using hashes here.

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