:orphan: .. _ref_examples: Tutorials ========= How to use widgets, ui, actor and windows module. Below some examples and apps to go in details. .. raw:: html
.. raw:: html
Introductory ------------ These tutorials show: - How to combine a timer with an actor - How to slice data with the slicer actor - How to use the normals of your data. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_texture_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_texture.py` .. raw:: html
Sphere Texture
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_gltf_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_gltf.py` .. raw:: html
Visualizing a glTF file
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_sphere_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_sphere.py` .. raw:: html
FURY sphere Actor
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_cone_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_cone.py` .. raw:: html
Fury Cone Actor
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_arrow_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_arrow.py` .. raw:: html
Fury Arrow Actor
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_gltf_animated_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_gltf_animated.py` .. raw:: html
Visualizing a glTF file
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_morphing_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_morphing.py` .. raw:: html
Morphing Animation in a glTF
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_gltf_export_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_gltf_export.py` .. raw:: html
Exporting scene as a glTF file
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_skinning_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_skinning.py` .. raw:: html
Skeletal Animation in a glTF file
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_timers_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_timers.py` .. raw:: html
Using a timer
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_spiky_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_spiky.py` .. raw:: html
Spiky Sphere
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_surfaces_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_surfaces.py` .. raw:: html
Visualize surfaces
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_selection_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_selection.py` .. raw:: html
Selecting multiple objects
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_multithread_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_multithread.py` .. raw:: html
Multithreading Example
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_picking_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_picking.py` .. raw:: html
Simple picking
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_earth_animation_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_earth_animation.py` .. raw:: html
Texture Sphere Animation
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_earth_coordinates_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_earth_coordinates.py` .. raw:: html
Earth Coordinate Conversion
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_slice_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_slice.py` .. raw:: html
Simple volume slicing
.. raw:: html
.. only:: html .. image:: /auto_examples/01_introductory/images/thumb/sphx_glr_viz_solar_system_thumb.png :alt: :ref:`sphx_glr_auto_examples_01_introductory_viz_solar_system.py` .. raw:: html
Solar System Animation
.. raw:: html
Demos ----- Below is a gallery of Demos. A bunch of apps powered by FURY. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_markers_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_markers.py` .. raw:: html
Fury Markers
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_network_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_network.py` .. raw:: html
Visualize Interdisciplinary map of the journals network
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_roi_contour_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_roi_contour.py` .. raw:: html
Visualization of ROI Surface Rendered with Streamlines
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_helical_motion_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_helical_motion.py` .. raw:: html
Motion of a charged particle in a combined magnetic and electric field
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_brownian_motion_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_brownian_motion.py` .. raw:: html
Brownian motion
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_play_video_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_play_video.py` .. raw:: html
Play a video in the 3D world
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_fine_tuning_gl_context_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_fine_tuning_gl_context.py` .. raw:: html
Fine-tuning the OpenGL state using shader callbacks
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_emwave_animation_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_emwave_animation.py` .. raw:: html
Electromagnetic Wave Propagation Animation
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_animated_surfaces_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_animated_surfaces.py` .. raw:: html
Animated 2D functions
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_bundles_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_bundles.py` .. raw:: html
Visualize bundles and metrics on bundles
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_tesseract_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_tesseract.py` .. raw:: html
Tesseract (Hypercube)
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_collision-particles_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_collision-particles.py` .. raw:: html
Collisions of particles in a box
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_advanced_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_advanced.py` .. raw:: html
Advanced interactive visualization
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_fiber_odf_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_fiber_odf.py` .. raw:: html
Brain Fiber ODF Visualisation
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_fractals_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_fractals.py` .. raw:: html
Fractals
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_network_animated_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_network_animated.py` .. raw:: html
Visualize Networks (Animated version)
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_dt_ellipsoids_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_dt_ellipsoids.py` .. raw:: html
Display Tensor Ellipsoids for DTI using tensor_slicer vs ellipsoid actor
.. raw:: html
.. only:: html .. image:: /auto_examples/04_demos/images/thumb/sphx_glr_viz_pbr_interactive_thumb.png :alt: :ref:`sphx_glr_auto_examples_04_demos_viz_pbr_interactive.py` .. raw:: html
Interactive PBR demo
.. raw:: html
User Interface Elements ----------------------- These tutorials show how to create user interfaces elements. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/07_ui/images/thumb/sphx_glr_viz_shapes_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_ui_viz_shapes.py` .. raw:: html
Simple Shapes
.. raw:: html
.. only:: html .. image:: /auto_examples/07_ui/images/thumb/sphx_glr_viz_drawpanel_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_ui_viz_drawpanel.py` .. raw:: html
DrawPanel
.. raw:: html
.. only:: html .. image:: /auto_examples/07_ui/images/thumb/sphx_glr_viz_card_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_ui_viz_card.py` .. raw:: html
Card
.. raw:: html
.. only:: html .. image:: /auto_examples/07_ui/images/thumb/sphx_glr_viz_spinbox_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_ui_viz_spinbox.py` .. raw:: html
SpinBox UI
.. raw:: html
.. only:: html .. image:: /auto_examples/07_ui/images/thumb/sphx_glr_viz_combobox_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_ui_viz_combobox.py` .. raw:: html
ComboBox
.. raw:: html
.. only:: html .. image:: /auto_examples/07_ui/images/thumb/sphx_glr_viz_ui_listbox_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_ui_viz_ui_listbox.py` .. raw:: html
ListBox
.. raw:: html
.. only:: html .. image:: /auto_examples/07_ui/images/thumb/sphx_glr_viz_layout_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_ui_viz_layout.py` .. raw:: html
Using Layouts with different UI elements
.. raw:: html
.. only:: html .. image:: /auto_examples/07_ui/images/thumb/sphx_glr_viz_radio_buttons_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_ui_viz_radio_buttons.py` .. raw:: html
Sphere Color Control using Radio Buttons
.. raw:: html
.. only:: html .. image:: /auto_examples/07_ui/images/thumb/sphx_glr_viz_buttons_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_ui_viz_buttons.py` .. raw:: html
Buttons & Text
.. raw:: html
.. only:: html .. image:: /auto_examples/07_ui/images/thumb/sphx_glr_viz_card_sprite_sheet_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_ui_viz_card_sprite_sheet.py` .. raw:: html
Card
.. raw:: html
.. only:: html .. image:: /auto_examples/07_ui/images/thumb/sphx_glr_viz_ui_slider_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_ui_viz_ui_slider.py` .. raw:: html
Cube & Slider Control
.. raw:: html
.. only:: html .. image:: /auto_examples/07_ui/images/thumb/sphx_glr_viz_check_boxes_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_ui_viz_check_boxes.py` .. raw:: html
Figure and Color Control using Check boxes and Radio Buttons
.. raw:: html
.. only:: html .. image:: /auto_examples/07_ui/images/thumb/sphx_glr_viz_tab_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_ui_viz_tab.py` .. raw:: html
Tab UI
.. raw:: html
.. only:: html .. image:: /auto_examples/07_ui/images/thumb/sphx_glr_viz_ui_thumb.png :alt: :ref:`sphx_glr_auto_examples_07_ui_viz_ui.py` .. raw:: html
User Interfaces
.. raw:: html
Animation --------- These tutorials show: - How to animate FURY actors. - How to use different interpolation methods in animations. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/10_animation/images/thumb/sphx_glr_viz_introduction_thumb.png :alt: :ref:`sphx_glr_auto_examples_10_animation_viz_introduction.py` .. raw:: html
Keyframe animation introduction
.. raw:: html
.. only:: html .. image:: /auto_examples/10_animation/images/thumb/sphx_glr_viz_timeline_thumb.png :alt: :ref:`sphx_glr_auto_examples_10_animation_viz_timeline.py` .. raw:: html
Timeline and setting keyframes
.. raw:: html
.. only:: html .. image:: /auto_examples/10_animation/images/thumb/sphx_glr_viz_spline_interpolator_thumb.png :alt: :ref:`sphx_glr_auto_examples_10_animation_viz_spline_interpolator.py` .. raw:: html
Keyframes Spline Interpolator
.. raw:: html
.. only:: html .. image:: /auto_examples/10_animation/images/thumb/sphx_glr_viz_using_time_equations_thumb.png :alt: :ref:`sphx_glr_auto_examples_10_animation_viz_using_time_equations.py` .. raw:: html
Keyframe animation
.. raw:: html
.. only:: html .. image:: /auto_examples/10_animation/images/thumb/sphx_glr_viz_interpolators_thumb.png :alt: :ref:`sphx_glr_auto_examples_10_animation_viz_interpolators.py` .. raw:: html
Keyframe animation
.. raw:: html
.. only:: html .. image:: /auto_examples/10_animation/images/thumb/sphx_glr_viz_color_interpolators_thumb.png :alt: :ref:`sphx_glr_auto_examples_10_animation_viz_color_interpolators.py` .. raw:: html
Keyframe Color Interpolators
.. raw:: html
.. only:: html .. image:: /auto_examples/10_animation/images/thumb/sphx_glr_viz_robot_arm_animation_thumb.png :alt: :ref:`sphx_glr_auto_examples_10_animation_viz_robot_arm_animation.py` .. raw:: html
Arm Robot Animation
.. raw:: html
.. only:: html .. image:: /auto_examples/10_animation/images/thumb/sphx_glr_viz_hierarchical_animation_thumb.png :alt: :ref:`sphx_glr_auto_examples_10_animation_viz_hierarchical_animation.py` .. raw:: html
Keyframe hierarchical Animation
.. raw:: html
.. only:: html .. image:: /auto_examples/10_animation/images/thumb/sphx_glr_viz_bezier_interpolator_thumb.png :alt: :ref:`sphx_glr_auto_examples_10_animation_viz_bezier_interpolator.py` .. raw:: html
Bezier Interpolator
.. raw:: html
.. only:: html .. image:: /auto_examples/10_animation/images/thumb/sphx_glr_viz_camera_thumb.png :alt: :ref:`sphx_glr_auto_examples_10_animation_viz_camera.py` .. raw:: html
Keyframe animation: Camera and opacity
.. raw:: html
.. only:: html .. image:: /auto_examples/10_animation/images/thumb/sphx_glr_viz_custom_interpolator_thumb.png :alt: :ref:`sphx_glr_auto_examples_10_animation_viz_custom_interpolator.py` .. raw:: html
Making a custom interpolator
.. raw:: html
Shaders ------- These tutorials show: - How to use shaders in FURY actors. - How to create new user shaders and internal conventions. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/13_shaders/images/thumb/sphx_glr_viz_sdfactor_thumb.png :alt: :ref:`sphx_glr_auto_examples_13_shaders_viz_sdfactor.py` .. raw:: html
Visualize SDF Actor
.. raw:: html
.. only:: html .. image:: /auto_examples/13_shaders/images/thumb/sphx_glr_viz_principled_spheres_thumb.png :alt: :ref:`sphx_glr_auto_examples_13_shaders_viz_principled_spheres.py` .. raw:: html
Principled BRDF shader on spheres
.. raw:: html
.. only:: html .. image:: /auto_examples/13_shaders/images/thumb/sphx_glr_viz_shader_thumb.png :alt: :ref:`sphx_glr_auto_examples_13_shaders_viz_shader.py` .. raw:: html
Varying Color
.. raw:: html
.. only:: html .. image:: /auto_examples/13_shaders/images/thumb/sphx_glr_viz_pbr_spheres_thumb.png :alt: :ref:`sphx_glr_auto_examples_13_shaders_viz_pbr_spheres.py` .. raw:: html
Physically-Based Rendering (PBR) on spheres
.. raw:: html
.. only:: html .. image:: /auto_examples/13_shaders/images/thumb/sphx_glr_viz_billboard_sdf_spheres_thumb.png :alt: :ref:`sphx_glr_auto_examples_13_shaders_viz_billboard_sdf_spheres.py` .. raw:: html
SDF Impostors on Billboards
.. raw:: html
.. only:: html .. image:: /auto_examples/13_shaders/images/thumb/sphx_glr_viz_sdf_cylinder_thumb.png :alt: :ref:`sphx_glr_auto_examples_13_shaders_viz_sdf_cylinder.py` .. raw:: html
Make a Cylinder using polygons vs SDF
.. raw:: html
Integrate Physics using pybullet -------------------------------- These demos show how to use connect FURY with a physics engine library. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/17_pybullet/images/thumb/sphx_glr_viz_ball_collide_thumb.png :alt: :ref:`sphx_glr_auto_examples_17_pybullet_viz_ball_collide.py` .. raw:: html
Ball Collision Simulation
.. raw:: html
.. only:: html .. image:: /auto_examples/17_pybullet/images/thumb/sphx_glr_viz_domino_thumb.png :alt: :ref:`sphx_glr_auto_examples_17_pybullet_viz_domino.py` .. raw:: html
Domino Physics Simulation
.. raw:: html
.. only:: html .. image:: /auto_examples/17_pybullet/images/thumb/sphx_glr_viz_chain_thumb.png :alt: :ref:`sphx_glr_auto_examples_17_pybullet_viz_chain.py` .. raw:: html
Chain Simulation
.. raw:: html
.. only:: html .. image:: /auto_examples/17_pybullet/images/thumb/sphx_glr_viz_brick_wall_thumb.png :alt: :ref:`sphx_glr_auto_examples_17_pybullet_viz_brick_wall.py` .. raw:: html
Brick Wall Simulation
.. raw:: html
.. only:: html .. image:: /auto_examples/17_pybullet/images/thumb/sphx_glr_viz_wrecking_ball_thumb.png :alt: :ref:`sphx_glr_auto_examples_17_pybullet_viz_wrecking_ball.py` .. raw:: html
Wrecking Ball Simulation
.. raw:: html
Streaming --------- These tutorials show: - How to create a simple streaming server and turn that available. - How to create a streaming server with user interaction. - How to create a streaming server using the Widget Object. .. raw:: html
.. raw:: html
.. only:: html .. image:: /auto_examples/20_stream/images/thumb/sphx_glr_viz_widget_thumb.png :alt: :ref:`sphx_glr_auto_examples_20_stream_viz_widget.py` .. raw:: html
Streaming FURY with WebRTC/MJPEG using the Widget Object
.. raw:: html
.. only:: html .. image:: /auto_examples/20_stream/images/thumb/sphx_glr_viz_no_interaction_thumb.png :alt: :ref:`sphx_glr_auto_examples_20_stream_viz_no_interaction.py` .. raw:: html
Streaming FURY with WebRTC/MJPEG
.. raw:: html
.. only:: html .. image:: /auto_examples/20_stream/images/thumb/sphx_glr_viz_interaction_thumb.png :alt: :ref:`sphx_glr_auto_examples_20_stream_viz_interaction.py` .. raw:: html
Streaming FURY with user interaction
.. raw:: html
.. toctree:: :hidden: :includehidden: /auto_examples/01_introductory/index.rst /auto_examples/04_demos/index.rst /auto_examples/07_ui/index.rst /auto_examples/10_animation/index.rst /auto_examples/13_shaders/index.rst /auto_examples/17_pybullet/index.rst /auto_examples/20_stream/index.rst .. only:: html .. container:: sphx-glr-footer sphx-glr-footer-gallery .. container:: sphx-glr-download sphx-glr-download-python :download:`Download all examples in Python source code: auto_examples_python.zip ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download all examples in Jupyter notebooks: auto_examples_jupyter.zip ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_