space-filling-curves_python
To product a video about Space-filling curve, a make a code based on Lindenmayer system, with objective animate with python
It can be used to teach about recursive functions, to product video and teach childrens about the turtle power.
To construct the curve faster, use https://github.com/PrincetonLIPS/numpy-hilbert-curve
Corrigir:
-
The 3d curves have a error at constants. At both
-
The Gosper_Flowsnake_curve have a little erro that make the iteraction >3 colapse in some lines Plus
- Add proprietis to change colors with make the iteractions
- Add the options which Letter start
How to use
-
Install the package
-
import as "from . import function_name"
-
to plot in 2D, only select the start letter. Choose one below
| Function | Starts letters | |||
|---|---|---|---|---|
| sierspinski_curve | S | R | Z | P |
| hilbert_curve | C | H | A | B |
| peano_curve | P | Q | R | S |
| gosper_Flowsnake_curve | G | R | ||
| pablo_curve | A | B | C | D |
- to plot in 3D, select the start letter and call the function "plot()"
| function | Letters | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| hilbert_3D | A | B | C | D | E | F | G | H | I | J | K | L |
| peano_3D | S | P | R | Q |
At 2D, was used the Turtle
2D Curves
-
sierspinski_curve
-
Hilbert_curve
-
Peano_curve
-
Gosper_Flowsnake_curve
-
dragon curve
-
Pablo curve, that a create to a friend
At 3d, was used the aplications matplotlib
3D Curves
-
Hilbert curve
-
Peano curve
Metadata
Release files for L-SpaceCurves 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| L_SpaceCurves-0.0.8.tar.gz | 5.8 kB | Without provenance | Details |
Release files / L_SpaceCurves-0.0.8.tar.gz
| Download URL | L_SpaceCurves-0.0.8.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27f2820b909185a7b9d4f1f37c60b910da5045961d4bca88151e1ab5340e504b
|
|
BLAKE2b-256 checksum How to use checksums |
05378b5da47b6353393ba2dde4ea52335fe399bd8141c0bd3145e3da1c7fef86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.8.10
|
Security for L-SpaceCurves 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.