https://github.com/kamirus/generating-3d-hilbert-curve
https://github.com/kamirus/generating-3d-hilbert-curve
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kamirus/generating-3d-hilbert-curve
- Owner: Kamirus
- Created: 2016-04-14T18:35:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-30T17:11:42.000Z (almost 9 years ago)
- Last Synced: 2025-02-14T01:17:26.350Z (8 months ago)
- Language: Python
- Size: 654 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Generating-3D-Hilbert-curve
# Project has two versions:
1) hilbert3D_postscript directory includes code, which generates 3D curve, modifies it by rotation and projection. Then it's printing postscript file with that modified curve.
Run run.py to see example:
$ python run.py
Also arguments for this script are explained there
GhostScript can convert ps file into pdf with that comand:
$ ps2pdf ps_file.ps pdf_file.pdf
2) hilbert_withVPython directory includes code, which generates 3D curve, centers and shows it using VPython curve. Generated curve can be moved by clicking right mouse button and draging mouse.