cosmol-viewer 0.1.4.dev2__tar.gz → 0.1.4.dev3__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.
Potentially problematic release.
This version of cosmol-viewer might be problematic. Click here for more details.
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/Cargo.lock +3 -3
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/Cargo.toml +3 -3
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/PKG-INFO +5 -5
- {cosmol_viewer-0.1.4.dev2/crates/python → cosmol_viewer-0.1.4.dev3}/README.md +4 -4
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shader/canvas.rs +1 -1
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3/crates/python}/README.md +4 -4
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/pyproject.toml +1 -1
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/Cargo.toml +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/lib.rs +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/parser/mod.rs +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/parser/sdf.rs +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/scene.rs +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shader/bg_fragment.glsl +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shader/bg_vertex.glsl +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shader/fragment.glsl +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shader/mod.rs +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shader/vertex.glsl +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shader/vertex_sphere.glsl +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shader/vertex_stick.glsl +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shapes/mod.rs +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shapes/molecules.rs +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shapes/sphere.rs +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shapes/stick.rs +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/utils.rs +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/python/Cargo.toml +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/python/build.rs +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/python/cosmol_viewer.pyi +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/python/src/lib.rs +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/python/src/parser.rs +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/python/src/shapes.rs +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/wasm/Cargo.toml +0 -0
- {cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/wasm/src/lib.rs +0 -0
|
@@ -759,7 +759,7 @@ dependencies = [
|
|
|
759
759
|
|
|
760
760
|
[[package]]
|
|
761
761
|
name = "cosmol_viewer"
|
|
762
|
-
version = "0.1.4-nightly.
|
|
762
|
+
version = "0.1.4-nightly.3"
|
|
763
763
|
dependencies = [
|
|
764
764
|
"bytemuck",
|
|
765
765
|
"cosmol_viewer_core",
|
|
@@ -772,7 +772,7 @@ dependencies = [
|
|
|
772
772
|
|
|
773
773
|
[[package]]
|
|
774
774
|
name = "cosmol_viewer_core"
|
|
775
|
-
version = "0.1.4-nightly.
|
|
775
|
+
version = "0.1.4-nightly.3"
|
|
776
776
|
dependencies = [
|
|
777
777
|
"bytemuck",
|
|
778
778
|
"eframe",
|
|
@@ -802,7 +802,7 @@ dependencies = [
|
|
|
802
802
|
|
|
803
803
|
[[package]]
|
|
804
804
|
name = "cosmol_viewer_wasm"
|
|
805
|
-
version = "0.1.4-nightly.
|
|
805
|
+
version = "0.1.4-nightly.3"
|
|
806
806
|
dependencies = [
|
|
807
807
|
"base64",
|
|
808
808
|
"cosmol_viewer_core",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[workspace.package]
|
|
2
2
|
edition = "2024"
|
|
3
|
-
version = "0.1.4-nightly.
|
|
3
|
+
version = "0.1.4-nightly.3"
|
|
4
4
|
authors = ["9028 wjt@cosmol.org"]
|
|
5
5
|
repository = "https://github.com/COSMol-repl/COSMol-viewer"
|
|
6
6
|
homepage = "https://github.com/COSMol-repl/COSMol-viewer"
|
|
@@ -13,8 +13,8 @@ resolver = "2"
|
|
|
13
13
|
members = ["crates/python"]
|
|
14
14
|
|
|
15
15
|
[workspace.dependencies]
|
|
16
|
-
cosmol_viewer = { version = "0.1.4-nightly.
|
|
17
|
-
cosmol_viewer_core = { version = "0.1.4-nightly.
|
|
16
|
+
cosmol_viewer = { version = "0.1.4-nightly.3", path = "cosmol_viewer"}
|
|
17
|
+
cosmol_viewer_core = { version = "0.1.4-nightly.3", path = "crates/core" }
|
|
18
18
|
|
|
19
19
|
eframe = { version = "0.33.0", features = ["wayland","x11"] }
|
|
20
20
|
pyo3 = { version = "0.27.1", features = ["extension-module", "abi3-py37"] }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cosmol-viewer
|
|
3
|
-
Version: 0.1.4.
|
|
3
|
+
Version: 0.1.4.dev3
|
|
4
4
|
Summary: Molecular visualization tools
|
|
5
5
|
Author-email: 95028 <wjt@cosmol.org>
|
|
6
6
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
@@ -20,8 +20,8 @@ Project-URL: Repository, https://github.com/COSMol-repl/COSMol-viewer
|
|
|
20
20
|
</a>
|
|
21
21
|
</div>
|
|
22
22
|
|
|
23
|
-
A high-performance molecular viewer for `Python` and `Rust`, backed by `Rust`.
|
|
24
|
-
Supports both static rendering and smooth animation playback — including inside Jupyter notebooks.
|
|
23
|
+
A high-performance molecular viewer for `Python` and `Rust`, backed by `Rust`.
|
|
24
|
+
Supports both static rendering and smooth animation playback — including inside Jupyter notebooks.
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
A compact, high-performance renderer for molecular and scientific shapes with two usage patterns:
|
|
@@ -57,7 +57,7 @@ pip install cosmol-viewer
|
|
|
57
57
|
---
|
|
58
58
|
|
|
59
59
|
## Quick Start
|
|
60
|
-
|
|
60
|
+
See examples in [Google Colab](https://colab.research.google.com/drive/1Sw72QWjQh_sbbY43jGyBOfF1AQCycmIx?usp=sharing).
|
|
61
61
|
### 1. Static molecular rendering
|
|
62
62
|
|
|
63
63
|
```python
|
|
@@ -103,5 +103,5 @@ Viewer.play(frames, interval=interval, loops=1, width=600, height=400, smooth=Tr
|
|
|
103
103
|
|
|
104
104
|
## Documentation
|
|
105
105
|
|
|
106
|
-
For API reference and advanced usage, please see the [latest documentation](https://cosmol-repl.github.io/COSMol-viewer).
|
|
106
|
+
For API reference and advanced usage, please see the [latest documentation](https://cosmol-repl.github.io/COSMol-viewer).
|
|
107
107
|
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
</a>
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
|
-
A high-performance molecular viewer for `Python` and `Rust`, backed by `Rust`.
|
|
16
|
-
Supports both static rendering and smooth animation playback — including inside Jupyter notebooks.
|
|
15
|
+
A high-performance molecular viewer for `Python` and `Rust`, backed by `Rust`.
|
|
16
|
+
Supports both static rendering and smooth animation playback — including inside Jupyter notebooks.
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
A compact, high-performance renderer for molecular and scientific shapes with two usage patterns:
|
|
@@ -49,7 +49,7 @@ pip install cosmol-viewer
|
|
|
49
49
|
---
|
|
50
50
|
|
|
51
51
|
## Quick Start
|
|
52
|
-
|
|
52
|
+
See examples in [Google Colab](https://colab.research.google.com/drive/1Sw72QWjQh_sbbY43jGyBOfF1AQCycmIx?usp=sharing).
|
|
53
53
|
### 1. Static molecular rendering
|
|
54
54
|
|
|
55
55
|
```python
|
|
@@ -95,4 +95,4 @@ Viewer.play(frames, interval=interval, loops=1, width=600, height=400, smooth=Tr
|
|
|
95
95
|
|
|
96
96
|
## Documentation
|
|
97
97
|
|
|
98
|
-
For API reference and advanced usage, please see the [latest documentation](https://cosmol-repl.github.io/COSMol-viewer).
|
|
98
|
+
For API reference and advanced usage, please see the [latest documentation](https://cosmol-repl.github.io/COSMol-viewer).
|
|
@@ -394,7 +394,7 @@ impl Shader {
|
|
|
394
394
|
// =========================
|
|
395
395
|
// 4.1 Generate sphere mesh template
|
|
396
396
|
// =========================
|
|
397
|
-
let template_sphere = Sphere::get_or_generate_sphere_mesh_template(
|
|
397
|
+
let template_sphere = Sphere::get_or_generate_sphere_mesh_template(2);
|
|
398
398
|
|
|
399
399
|
let vertex3d_sphere: Vec<Vertex3d> = template_sphere
|
|
400
400
|
.vertices
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
</a>
|
|
13
13
|
</div>
|
|
14
14
|
|
|
15
|
-
A high-performance molecular viewer for `Python` and `Rust`, backed by `Rust`.
|
|
16
|
-
Supports both static rendering and smooth animation playback — including inside Jupyter notebooks.
|
|
15
|
+
A high-performance molecular viewer for `Python` and `Rust`, backed by `Rust`.
|
|
16
|
+
Supports both static rendering and smooth animation playback — including inside Jupyter notebooks.
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
A compact, high-performance renderer for molecular and scientific shapes with two usage patterns:
|
|
@@ -49,7 +49,7 @@ pip install cosmol-viewer
|
|
|
49
49
|
---
|
|
50
50
|
|
|
51
51
|
## Quick Start
|
|
52
|
-
|
|
52
|
+
See examples in [Google Colab](https://colab.research.google.com/drive/1Sw72QWjQh_sbbY43jGyBOfF1AQCycmIx?usp=sharing).
|
|
53
53
|
### 1. Static molecular rendering
|
|
54
54
|
|
|
55
55
|
```python
|
|
@@ -95,4 +95,4 @@ Viewer.play(frames, interval=interval, loops=1, width=600, height=400, smooth=Tr
|
|
|
95
95
|
|
|
96
96
|
## Documentation
|
|
97
97
|
|
|
98
|
-
For API reference and advanced usage, please see the [latest documentation](https://cosmol-repl.github.io/COSMol-viewer).
|
|
98
|
+
For API reference and advanced usage, please see the [latest documentation](https://cosmol-repl.github.io/COSMol-viewer).
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shader/bg_fragment.glsl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shader/vertex_sphere.glsl
RENAMED
|
File without changes
|
{cosmol_viewer-0.1.4.dev2 → cosmol_viewer-0.1.4.dev3}/crates/core/src/shader/vertex_stick.glsl
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|