Pycg
Publicate better graphs!
Install / Use
/learn @heiwang1997/PycgREADME
PyCG: Toolbox for CG-related visualizations and computations
PyCG is there for people to accelerate their 3D visualizations and computations, aiming at implementing complicated functions with as few lines as possible. The toolbox is created from the perspective of researchers and would hopefully accelerate your daily pipeline.
Install
pip install -U python-pycg[all]
For developers, clone this repository and install it if you want to use newest features:
git clone --recursive https://github.com/heiwang1997/pycg
pip install -e .[all]
Using PyCG
PyCG contains many submodules which could be easily imported via from pycg import xxx.
These different modules span a wide range of functionalities from visualizing 3D assets to creating nice html tables for comparing results.
Please refer to the individual documentation of each submodule to get started.
- 3D Visualization
pycg.vis - Render 3D Scenes
pycg.render - Handling 3D Transformations
pycg.isometry - Compress Videos
pycg.video - Compress PDF Files
pycg.pdf - Experiment Utilities
pycg.exp - Manipulating Images
pycg.image - ... and so on to be added!
Gallery

<video src="https://github.com/heiwang1997/pycg/raw/master/docs/demo/scene_show.mp4" controls autoplay></video>
<video src="https://github.com/heiwang1997/pycg/raw/master/docs/demo/selection.mp4" controls autoplay></video>
<video src="https://github.com/heiwang1997/pycg/raw/master/docs/demo/animation_light.mp4" controls autoplay></video>
<video src="https://github.com/heiwang1997/pycg/raw/master/docs/demo/animation_arrow.mp4" controls autoplay></video>
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
344.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
344.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
