Skip to content

Commit

Permalink
Deploying to gh-pages from @ fury-gl/fury@b909ea3 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
skoudoro committed Jul 30, 2024
1 parent a5fe431 commit a36f94f
Show file tree
Hide file tree
Showing 738 changed files with 4,284 additions and 4,322 deletions.
2 changes: 1 addition & 1 deletion dev/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: cfd65b1d280e55551f713981b5dd439e
config: 50cea39258fbb1a48cef95136fa5b861
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_gltf.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_morphing.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_picking.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_selection.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_skinning.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_slice.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_sphere.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_spiky.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_surfaces.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_texture.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/01_introductory/viz_timers.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_dt_ellipsoids.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_emwave_animation.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_fiber_odf.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_fractals.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_helical_motion.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_markers.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_network.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_pbr_interactive.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_play_video.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_roi_contour.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/04_demos/viz_tesseract.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/index.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_drawpanel.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_layout.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_radio_buttons.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_shapes.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_spinbox.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_tab.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_ui.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_ui_listbox.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/07_ui/viz_ui_slider.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/10_animation/viz_introduction.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/10_animation/viz_timeline.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/13_shaders/index.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/13_shaders/viz_pbr_spheres.doctree
Binary file not shown.
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/13_shaders/viz_sdf_cylinder.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/13_shaders/viz_sdfactor.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/13_shaders/viz_shader.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/17_pybullet/viz_domino.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/17_pybullet/viz_wrecking_ball.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/20_stream/viz_interaction.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/20_stream/viz_no_interaction.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/20_stream/viz_widget.doctree
Binary file not shown.
Binary file modified dev/.doctrees/auto_examples/index.doctree
Binary file not shown.
Binary file modified dev/.doctrees/environment.pickle
Binary file not shown.
Binary file modified dev/.doctrees/reference/fury.deprecator.doctree
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"outputs": [],
"source": [
"import numpy as np\n\nfrom fury import actor, window\nfrom fury.animation import Animation, Timeline\nfrom fury.animation.interpolator import spline_interpolator\n\nscene = window.Scene()\n\nshowm = window.ShowManager(\n scene, size=(900, 768), reset_camera=False, order_transparent=True\n)"
"import numpy as np\n\nimport fury\n\nscene = fury.window.Scene()\n\nshowm = fury.window.ShowManager(\n scene, size=(900, 768), reset_camera=False, order_transparent=True\n)"
]
},
{
Expand Down Expand Up @@ -51,7 +51,7 @@
},
"outputs": [],
"source": [
"pos_dots = actor.dot(np.array(list(position_keyframes.values())))"
"pos_dots = fury.actor.dot(np.array(list(position_keyframes.values())))"
]
},
{
Expand All @@ -69,7 +69,7 @@
},
"outputs": [],
"source": [
"sphere_linear = actor.sphere(np.array([[0, 0, 0]]), (1, 0.5, 0.2), 0.5)\n\nlinear_anim = Animation()\nlinear_anim.add_actor(sphere_linear)\n\nlinear_anim.set_position_keyframes(position_keyframes)"
"sphere_linear = fury.actor.sphere(np.array([[0, 0, 0]]), (1, 0.5, 0.2), 0.5)\n\nlinear_anim = fury.animation.Animation()\nlinear_anim.add_actor(sphere_linear)\n\nlinear_anim.set_position_keyframes(position_keyframes)"
]
},
{
Expand All @@ -94,7 +94,7 @@
},
"outputs": [],
"source": [
"sphere_spline = actor.sphere(np.array([[0, 0, 0]]), (0.3, 0.9, 0.6), 1)\nspline_anim = Animation(sphere_spline)\nspline_anim.set_position_keyframes(position_keyframes)"
"sphere_spline = fury.actor.sphere(np.array([[0, 0, 0]]), (0.3, 0.9, 0.6), 1)\nspline_anim = fury.animation.Animation(sphere_spline)\nspline_anim.set_position_keyframes(position_keyframes)"
]
},
{
Expand All @@ -112,7 +112,7 @@
},
"outputs": [],
"source": [
"spline_anim.set_position_interpolator(spline_interpolator, degree=5)"
"spline_anim.set_position_interpolator(fury.animation.spline_interpolator, degree=5)"
]
},
{
Expand All @@ -137,7 +137,7 @@
},
"outputs": [],
"source": [
"timeline = Timeline(playback_panel=True)"
"timeline = fury.animation.Timeline(playback_panel=True)"
]
},
{
Expand Down Expand Up @@ -209,7 +209,7 @@
},
"outputs": [],
"source": [
"interactive = False\n\nif interactive:\n showm.start()\n\nwindow.record(scene, out_path=\"viz_keyframe_animation_spline.png\", size=(900, 768))"
"interactive = False\n\nif interactive:\n showm.start()\n\nfury.window.record(scene, out_path=\"viz_keyframe_animation_spline.png\", size=(900, 768))"
]
}
],
Expand Down
12 changes: 6 additions & 6 deletions dev/_downloads/047960bb41f51d256e795f60be8e1969/viz_timers.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,24 +17,24 @@

import numpy as np

from fury import actor, ui, window
import fury

xyz = 10 * np.random.rand(100, 3)
colors = np.random.rand(100, 4)
radii = np.random.rand(100) + 0.5

scene = window.Scene()
scene = fury.window.Scene()

sphere_actor = actor.sphere(centers=xyz, colors=colors, radii=radii)
sphere_actor = fury.actor.sphere(centers=xyz, colors=colors, radii=radii)

scene.add(sphere_actor)

showm = window.ShowManager(
showm = fury.window.ShowManager(
scene, size=(900, 768), reset_camera=False, order_transparent=True
)


tb = ui.TextBlock2D(bold=True)
tb = fury.ui.TextBlock2D(bold=True)

# use itertools to avoid global variables
counter = itertools.count()
Expand Down Expand Up @@ -66,4 +66,4 @@ def timer_callback(_obj, _event):

showm.start()

window.record(showm.scene, size=(900, 768), out_path="viz_timer.png")
fury.window.record(showm.scene, size=(900, 768), out_path="viz_timer.png")
22 changes: 11 additions & 11 deletions dev/_downloads/0495e6a00e4c37b628df83c952f39155/viz_picking.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"outputs": [],
"source": [
"import numpy as np\n\nfrom fury import actor, pick, ui, utils, window\n\ncenters = 0.5 * np.array([[0, 0, 0], [100, 0, 0], [200, 0, 0.0]])\ncolors = np.array([[0.8, 0, 0], [0, 0.8, 0], [0, 0, 0.8]])\nradii = 0.1 * np.array([50, 100, 150.0])\n\nselected = np.zeros(3, dtype=bool)"
"import numpy as np\n\nimport fury\n\ncenters = 0.5 * np.array([[0, 0, 0], [100, 0, 0], [200, 0, 0.0]])\ncolors = np.array([[0.8, 0, 0], [0, 0.8, 0], [0, 0, 0.8]])\nradii = 0.1 * np.array([50, 100, 150.0])\n\nselected = np.zeros(3, dtype=bool)"
]
},
{
Expand All @@ -33,7 +33,7 @@
},
"outputs": [],
"source": [
"panel = ui.Panel2D(size=(400, 200), color=(1, 0.5, 0.0), align=\"right\")\npanel.center = (150, 200)\n\ntext_block = ui.TextBlock2D(text=\"Left click on object \\n\")\npanel.add_element(text_block, (0.3, 0.3))"
"panel = fury.ui.Panel2D(size=(400, 200), color=(1, 0.5, 0.0), align=\"right\")\npanel.center = (150, 200)\n\ntext_block = fury.ui.TextBlock2D(text=\"Left click on object \\n\")\npanel.add_element(text_block, (0.3, 0.3))"
]
},
{
Expand All @@ -51,7 +51,7 @@
},
"outputs": [],
"source": [
"scene = window.Scene()\n\nlabel_actor = actor.vector_text(text=\"Test\")"
"scene = fury.window.Scene()\n\nlabel_actor = fury.actor.vector_text(text=\"Test\")"
]
},
{
Expand All @@ -69,7 +69,7 @@
},
"outputs": [],
"source": [
"directions = np.array(\n [\n [np.sqrt(2) / 2, 0, np.sqrt(2) / 2],\n [np.sqrt(2) / 2, np.sqrt(2) / 2, 0],\n [0, np.sqrt(2) / 2, np.sqrt(2) / 2],\n ]\n)\nfury_actor = actor.cube(centers, directions, colors, scales=radii)"
"directions = np.array(\n [\n [np.sqrt(2) / 2, 0, np.sqrt(2) / 2],\n [np.sqrt(2) / 2, np.sqrt(2) / 2, 0],\n [0, np.sqrt(2) / 2, np.sqrt(2) / 2],\n ]\n)\nfury_actor = fury.actor.cube(centers, directions, colors, scales=radii)"
]
},
{
Expand All @@ -87,7 +87,7 @@
},
"outputs": [],
"source": [
"vertices = utils.vertices_from_actor(fury_actor)\nnum_vertices = vertices.shape[0]\nnum_objects = centers.shape[0]"
"vertices = fury.utils.vertices_from_actor(fury_actor)\nnum_vertices = vertices.shape[0]\nnum_objects = centers.shape[0]"
]
},
{
Expand All @@ -105,7 +105,7 @@
},
"outputs": [],
"source": [
"vcolors = utils.colors_from_actor(fury_actor, \"colors\")"
"vcolors = fury.utils.colors_from_actor(fury_actor, \"colors\")"
]
},
{
Expand All @@ -123,7 +123,7 @@
},
"outputs": [],
"source": [
"ax = actor.axes(scale=(10, 10, 10))\n\nscene.add(fury_actor)\nscene.add(label_actor)\nscene.add(ax)\nscene.reset_camera()"
"ax = fury.actor.axes(scale=(10, 10, 10))\n\nscene.add(fury_actor)\nscene.add(label_actor)\nscene.add(ax)\nscene.reset_camera()"
]
},
{
Expand All @@ -141,7 +141,7 @@
},
"outputs": [],
"source": [
"pickm = pick.PickingManager()"
"pickm = fury.pick.PickingManager()"
]
},
{
Expand All @@ -159,7 +159,7 @@
},
"outputs": [],
"source": [
"def left_click_callback(obj, event):\n # Get the event position on display and pick\n\n event_pos = pickm.event_position(showm.iren)\n picked_info = pickm.pick(event_pos, showm.scene)\n\n vertex_index = picked_info[\"vertex\"]\n\n # Calculate the objects index\n\n object_index = int(np.floor((vertex_index / num_vertices) * num_objects))\n\n # Find how many vertices correspond to each object\n sec = int(num_vertices / num_objects)\n\n if not selected[object_index]:\n scale = 6 / 5\n color_add = np.array([30, 30, 30], dtype=\"uint8\")\n selected[object_index] = True\n else:\n scale = 5 / 6\n color_add = np.array([-30, -30, -30], dtype=\"uint8\")\n selected[object_index] = False\n\n # Update vertices positions\n vertices[object_index * sec : object_index * sec + sec] = (\n scale\n * (\n vertices[object_index * sec : object_index * sec + sec]\n - centers[object_index]\n )\n + centers[object_index]\n )\n\n # Update colors\n vcolors[object_index * sec : object_index * sec + sec] += color_add\n\n # Tell actor that memory is modified\n utils.update_actor(fury_actor)\n\n face_index = picked_info[\"face\"]\n\n # Show some info\n text = \"Object \" + str(object_index) + \"\\n\"\n text += \"Vertex ID \" + str(vertex_index) + \"\\n\"\n text += \"Face ID \" + str(face_index) + \"\\n\"\n text += \"World pos \" + str(np.round(picked_info[\"xyz\"], 2)) + \"\\n\"\n text += \"Actor ID \" + str(id(picked_info[\"actor\"]))\n text_block.message = text\n showm.render()"
"def left_click_callback(obj, event):\n # Get the event position on display and pick\n\n event_pos = pickm.event_position(showm.iren)\n picked_info = pickm.pick(event_pos, showm.scene)\n\n vertex_index = picked_info[\"vertex\"]\n\n # Calculate the objects index\n\n object_index = int(np.floor((vertex_index / num_vertices) * num_objects))\n\n # Find how many vertices correspond to each object\n sec = int(num_vertices / num_objects)\n\n if not selected[object_index]:\n scale = 6 / 5\n color_add = np.array([30, 30, 30], dtype=\"uint8\")\n selected[object_index] = True\n else:\n scale = 5 / 6\n color_add = np.array([-30, -30, -30], dtype=\"uint8\")\n selected[object_index] = False\n\n # Update vertices positions\n vertices[object_index * sec : object_index * sec + sec] = (\n scale\n * (\n vertices[object_index * sec : object_index * sec + sec]\n - centers[object_index]\n )\n + centers[object_index]\n )\n\n # Update colors\n vcolors[object_index * sec : object_index * sec + sec] += color_add\n\n # Tell actor that memory is modified\n fury.utils.update_actor(fury_actor)\n\n face_index = picked_info[\"face\"]\n\n # Show some info\n text = \"Object \" + str(object_index) + \"\\n\"\n text += \"Vertex ID \" + str(vertex_index) + \"\\n\"\n text += \"Face ID \" + str(face_index) + \"\\n\"\n text += \"World pos \" + str(np.round(picked_info[\"xyz\"], 2)) + \"\\n\"\n text += \"Actor ID \" + str(id(picked_info[\"actor\"]))\n text_block.message = text\n showm.render()"
]
},
{
Expand Down Expand Up @@ -195,7 +195,7 @@
},
"outputs": [],
"source": [
"showm = window.ShowManager(scene, size=(1024, 768), order_transparent=True)\n\nscene.add(panel)"
"showm = fury.window.ShowManager(scene, size=(1024, 768), order_transparent=True)\n\nscene.add(panel)"
]
},
{
Expand Down Expand Up @@ -231,7 +231,7 @@
},
"outputs": [],
"source": [
"window.record(showm.scene, size=(1024, 768), out_path=\"viz_picking.png\")"
"fury.window.record(showm.scene, size=(1024, 768), out_path=\"viz_picking.png\")"
]
}
],
Expand Down
29 changes: 15 additions & 14 deletions dev/_downloads/04e8eda84bdca47952939ad54850e938/viz_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,41 @@
This example shows how to place different UI elements in different Layouts.
The Layouts used here is GridLayout (with different cell shapes).
First, some imports.
First, let's import fury.
"""

from fury import ui, window
from fury.layout import GridLayout
import fury

###############################################################################
# We create some panels and then we arrange them in a grid fashion
#
# First, we create some panels with different sizes/positions

panel_1 = ui.Panel2D(size=(200, 200), color=(0.4, 0.6, 0.3), position=(100, 100))
panel_1 = fury.ui.Panel2D(size=(200, 200), color=(0.4, 0.6, 0.3), position=(100, 100))

panel_2 = ui.Panel2D(size=(250, 250), color=(0.8, 0.3, 0.5), position=(150, 150))
panel_2 = fury.ui.Panel2D(size=(250, 250), color=(0.8, 0.3, 0.5), position=(150, 150))

###############################################################################
# Now we create two listboxes

listbox_1 = ui.ListBox2D(size=(150, 150), values=["First", "Second", "Third"])
listbox_1 = fury.ui.ListBox2D(size=(150, 150), values=["First", "Second", "Third"])

listbox_2 = ui.ListBox2D(size=(250, 250), values=["First", "Second", "Third"])
listbox_2 = fury.ui.ListBox2D(size=(250, 250), values=["First", "Second", "Third"])

###############################################################################
# Now we create two different UI i.e. a slider and a listbox

slider = ui.LineSlider2D(length=150)
listbox = ui.ListBox2D(size=(150, 150), values=["First", "Second", "Third"])
slider = fury.ui.LineSlider2D(length=150)
listbox = fury.ui.ListBox2D(size=(150, 150), values=["First", "Second", "Third"])

###############################################################################
# Now, we create grids with different shapes

rect_grid = GridLayout(position_offset=(0, 0, 0))
square_grid = GridLayout(cell_shape="square", position_offset=(0, 300, 0))
diagonal_grid = GridLayout(cell_shape="diagonal", position_offset=(0, 600, 0))
rect_grid = fury.layout.GridLayout(position_offset=(0, 0, 0))
square_grid = fury.layout.GridLayout(cell_shape="square", position_offset=(0, 300, 0))
diagonal_grid = fury.layout.GridLayout(
cell_shape="diagonal", position_offset=(0, 600, 0)
)


###############################################################################
Expand All @@ -50,7 +51,7 @@
diagonal_grid.apply([slider, listbox])

current_size = (1500, 1500)
show_manager = window.ShowManager(size=current_size, title="FURY UI Layout")
show_manager = fury.window.ShowManager(size=current_size, title="FURY UI Layout")

show_manager.scene.add(panel_1, panel_2, listbox_1, listbox_2, slider, listbox)

Expand All @@ -60,4 +61,4 @@
if interactive:
show_manager.start()

window.record(show_manager.scene, out_path="ui_layout.png", size=(400, 400))
fury.window.record(show_manager.scene, out_path="ui_layout.png", size=(400, 400))
17 changes: 9 additions & 8 deletions dev/_downloads/05fd9f63e6e71b89f69af9820567b262/viz_timeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@

import numpy as np

from fury import actor, window
from fury.animation import Animation, Timeline
import fury

###############################################################################
# We create our ``Scene`` and ``ShowManager`` as usual.
scene = window.Scene()
scene = fury.window.Scene()

showm = window.ShowManager(scene, size=(900, 768))
showm = fury.window.ShowManager(scene, size=(900, 768))
showm.initialize()

###############################################################################
Expand All @@ -37,12 +36,12 @@

###############################################################################
# Creating a ``Timeline`` with a PlaybackPanel.
timeline = Timeline(playback_panel=True)
timeline = fury.animation.Timeline(playback_panel=True)

###############################################################################
# Creating a Fury Animation as usual
anim = Animation()
sphere = actor.sphere(np.zeros([1, 3]), np.ones([1, 3]))
anim = fury.animation.Animation()
sphere = fury.actor.sphere(np.zeros([1, 3]), np.ones([1, 3]))
anim.add_actor(sphere)
# Now that the actor is add to the ``Animation``, setting keyframes to the
# Animation will animate the actor accordingly.
Expand Down Expand Up @@ -88,4 +87,6 @@
if interactive:
showm.start()

window.record(scene, out_path="viz_keyframe_animation_timeline.png", size=(900, 768))
fury.window.record(
scene, out_path="viz_keyframe_animation_timeline.png", size=(900, 768)
)
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@

import numpy as np

from fury import actor, material, window
import fury

###############################################################################
# Now set up a new scene.

scene = window.Scene()
scene = fury.window.Scene()
scene.background((0.9, 0.9, 0.9))

###############################################################################
Expand Down Expand Up @@ -56,12 +56,12 @@
center = np.array([[0, -5 * i, 0]])
for j in range(11):
center[0][0] = -25 + 5 * j
sphere = actor.sphere(
sphere = fury.actor.sphere(
center, colors=material_params[i][0], radii=2, theta=32, phi=32
)
keys = list(material_params[i][1])
material_params[i][1][keys[0]] = np.round(0.1 * j, decimals=1)
material.manifest_principled(sphere, **material_params[i][1])
fury.material.manifest_principled(sphere, **material_params[i][1])
scene.add(sphere)

###############################################################################
Expand All @@ -82,14 +82,14 @@

for i in range(10):
pos = [-40, -5 * i, 0]
label = actor.vector_text(
label = fury.actor.vector_text(
labels[i], pos=pos, scale=(0.8, 0.8, 0.8), color=(0, 0, 0)
)
scene.add(label)

for j in range(11):
pos = [-26 + 5 * j, 5, 0]
label = actor.vector_text(
label = fury.actor.vector_text(
str(np.round(j * 0.1, decimals=1)),
pos=pos,
scale=(0.8, 0.8, 0.8),
Expand All @@ -102,6 +102,6 @@

interactive = False
if interactive:
window.show(scene)
fury.window.show(scene)

window.record(scene, size=(600, 600), out_path="viz_principled_spheres.png")
fury.window.record(scene, size=(600, 600), out_path="viz_principled_spheres.png")
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit a36f94f

Please sign in to comment.