Skip to content

Commit 4c54a89

Browse files
Update changelog and adjust camera position
1 parent 080aa6f commit 4c54a89

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
- Introduce `Lanczos` solver for `spectrum`. ([#476])
1111
- Add Bloch-Redfield master equation solver. ([#473])
12-
- Implement Bloch Sphere rendering and align style with qutip. ([#472], [#480])
13-
- Use `LScene` instead of `Axis3` for `Bloch` sphere rendering. ([#485])
12+
- Implement Bloch Sphere rendering and align style with qutip. ([#472], [#480], [#485])
1413

1514
## [v0.31.1]
1615
Release date: 2025-05-16

ext/QuantumToolboxMakieExt.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,9 @@ function _setup_bloch_plot!(b::Bloch, location)
381381
lscene = LScene(location, show_axis = false, scenekw = (backgroundcolor = frame_color,))
382382
length(b.view) == 2 || throw(ArgumentError("The length of `Bloch.view` must be 2."))
383383
cam3d!(lscene.scene, center = false)
384-
update_cam!(lscene.scene, (1, 0, 0), (0, 0, 0))
385384
cam = cameracontrols(lscene)
386-
cam.fov[] = 5
387-
update_cam!(lscene.scene, cam, deg2rad(b.view[1]), deg2rad(b.view[2]), 26)
385+
cam.fov[] = 12
386+
update_cam!(lscene.scene, cam, deg2rad(b.view[1]), deg2rad(b.view[2]), 12)
388387
return fig, lscene
389388
end
390389

0 commit comments

Comments
 (0)