rotau 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rotau-0.1.1/.gitignore +21 -0
- rotau-0.1.1/LICENSE +39 -0
- rotau-0.1.1/PKG-INFO +775 -0
- rotau-0.1.1/README.md +708 -0
- rotau-0.1.1/THIRD-PARTY.md +73 -0
- rotau-0.1.1/build_native.py +83 -0
- rotau-0.1.1/docs/ANALYSIS.md +332 -0
- rotau-0.1.1/js/LICENSE +39 -0
- rotau-0.1.1/js/README.md +80 -0
- rotau-0.1.1/js/THIRD-PARTY.md +73 -0
- rotau-0.1.1/js/src/index.d.ts +160 -0
- rotau-0.1.1/js/src/index.js +274 -0
- rotau-0.1.1/js/src/options.js +103 -0
- rotau-0.1.1/js/tools/embed.mjs +34 -0
- rotau-0.1.1/pyproject.toml +123 -0
- rotau-0.1.1/rust/Cargo.lock +7 -0
- rotau-0.1.1/rust/Cargo.toml +43 -0
- rotau-0.1.1/rust/README.md +43 -0
- rotau-0.1.1/rust/src/algorithms.rs +702 -0
- rotau-0.1.1/rust/src/bin/bench.rs +46 -0
- rotau-0.1.1/rust/src/bin/bench2.rs +51 -0
- rotau-0.1.1/rust/src/bin/conformance.rs +374 -0
- rotau-0.1.1/rust/src/bin/dumpcase.rs +92 -0
- rotau-0.1.1/rust/src/cells.rs +85 -0
- rotau-0.1.1/rust/src/contours.rs +184 -0
- rotau-0.1.1/rust/src/dss.rs +441 -0
- rotau-0.1.1/rust/src/ffi.rs +417 -0
- rotau-0.1.1/rust/src/geom.rs +179 -0
- rotau-0.1.1/rust/src/idealize.rs +711 -0
- rotau-0.1.1/rust/src/label.rs +462 -0
- rotau-0.1.1/rust/src/lib.rs +118 -0
- rotau-0.1.1/rust/src/raster.rs +160 -0
- rotau-0.1.1/rust/src/reconstruct.rs +254 -0
- rotau-0.1.1/rust/src/simgraph.rs +266 -0
- rotau-0.1.1/rust/src/transform.rs +112 -0
- rotau-0.1.1/src/rotau/__init__.py +67 -0
- rotau-0.1.1/src/rotau/__main__.py +290 -0
- rotau-0.1.1/src/rotau/algorithms.py +612 -0
- rotau-0.1.1/src/rotau/api.py +215 -0
- rotau-0.1.1/src/rotau/cells.py +98 -0
- rotau-0.1.1/src/rotau/contours.py +141 -0
- rotau-0.1.1/src/rotau/dss.py +289 -0
- rotau-0.1.1/src/rotau/geom.py +174 -0
- rotau-0.1.1/src/rotau/grid.py +253 -0
- rotau-0.1.1/src/rotau/gridio.py +136 -0
- rotau-0.1.1/src/rotau/idealize.py +509 -0
- rotau-0.1.1/src/rotau/image.py +176 -0
- rotau-0.1.1/src/rotau/label.py +355 -0
- rotau-0.1.1/src/rotau/native.py +371 -0
- rotau-0.1.1/src/rotau/py.typed +0 -0
- rotau-0.1.1/src/rotau/raster.py +106 -0
- rotau-0.1.1/src/rotau/rotate.py +391 -0
- rotau-0.1.1/src/rotau/simgraph.py +231 -0
- rotau-0.1.1/src/rotau/transform.py +99 -0
- rotau-0.1.1/tests/conformance.json +1 -0
- rotau-0.1.1/tests/conftest.py +9 -0
- rotau-0.1.1/tests/test_rotau.py +643 -0
- rotau-0.1.1/tools/adapt.py +81 -0
- rotau-0.1.1/tools/conformance.py +268 -0
- rotau-0.1.1/tools/debug_vis.py +52 -0
- rotau-0.1.1/tools/errmap.py +74 -0
- rotau-0.1.1/tools/metrics.py +173 -0
- rotau-0.1.1/tools/phase_score.py +62 -0
- rotau-0.1.1/tools/report.py +220 -0
- rotau-0.1.1/tools/roundtrip.py +82 -0
- rotau-0.1.1/tools/sweep.py +71 -0
- rotau-0.1.1/tools/synth.py +221 -0
rotau-0.1.1/.gitignore
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
__pycache__/
|
|
2
|
+
*.pyc
|
|
3
|
+
out/
|
|
4
|
+
assets/real/_dl/
|
|
5
|
+
research/
|
|
6
|
+
dist/
|
|
7
|
+
build/
|
|
8
|
+
*.egg-info/
|
|
9
|
+
rust/target/
|
|
10
|
+
.devenv/
|
|
11
|
+
# the compiled core, dropped in by build_native.py; never committed
|
|
12
|
+
src/rotau/*.so
|
|
13
|
+
src/rotau/*.dylib
|
|
14
|
+
src/rotau/*.dll
|
|
15
|
+
.release-venv/
|
|
16
|
+
.release-venv-check/
|
|
17
|
+
node_modules/
|
|
18
|
+
js/src/wasm.js
|
|
19
|
+
|
|
20
|
+
# credentials for release.sh
|
|
21
|
+
.env
|
rotau-0.1.1/LICENSE
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
This is free and unencumbered software released into the public domain.
|
|
2
|
+
|
|
3
|
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
|
4
|
+
distribute this software, either in source code form or as a compiled
|
|
5
|
+
binary, for any purpose, commercial or non-commercial, and by any
|
|
6
|
+
means.
|
|
7
|
+
|
|
8
|
+
In jurisdictions that recognize copyright laws, the author or authors
|
|
9
|
+
of this software dedicate any and all copyright interest in the
|
|
10
|
+
software to the public domain. We make this dedication for the benefit
|
|
11
|
+
of the public at large and to the detriment of our heirs and
|
|
12
|
+
successors. We intend this dedication to be an overt act of
|
|
13
|
+
relinquishment in perpetuity of all present and future rights to this
|
|
14
|
+
software under copyright law.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
19
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
20
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
21
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
22
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
23
|
+
|
|
24
|
+
For more information, please refer to <https://unlicense.org>
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
ONE EXCEPTION
|
|
29
|
+
|
|
30
|
+
The `cleanedge` algorithm is a port of torcado's cleanEdge shader, which is
|
|
31
|
+
MIT licensed. Public-domain dedication is not ours to make for someone else's
|
|
32
|
+
work, so that one algorithm stays under its original MIT terms: keep the
|
|
33
|
+
notice in THIRD-PARTY.md with any copy you distribute. Everything else in
|
|
34
|
+
this repository - written by davedude101 - is public domain as above, with no
|
|
35
|
+
conditions of any kind.
|
|
36
|
+
|
|
37
|
+
If you want a distribution with no obligations whatsoever, delete the
|
|
38
|
+
`cleanedge` entry from the algorithm registry and the functions it names; the
|
|
39
|
+
other five algorithms have no third-party provenance.
|