mayavi-3d-viz

Render scalar and vector physics fields as 3D visualizations with Mayavi.

33|6|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill mayavi-3d-viz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mayavi-3d-viz
Source: https://github.com/xjtulyc/awesome-rosetta-skills/tree/main/skills/01-physics/mayavi-3d-viz
Command: npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill mayavi-3d-viz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes assets (resource) components.

What problem does it solve?

This Skill helps you turn 3D physics datasets into clear, presentation-ready visualizations so you can communicate results without spending days tweaking plotting code and rendering settings.

Core Features & Use Cases

  • Scalar field rendering: Visualize volumetric data using isosurfaces, contour plots, and volume slicing (e.g., temperature, density, pressure).
  • Vector field visualization: Plot vector magnitudes and directions with quiver arrows and streamline/flow lines (e.g., electromagnetic fields, fluid velocity).
  • High-quality export & off-screen rendering: Produce high-resolution renders suitable for papers using Mayavi/VTK in interactive or headless environments.

Example use case: You have a 3D simulation of a field and want to generate an isosurface image of key regions and overlay streamlines to show how the field evolves.

Quick Start

Use the mayavi-3d-viz skill to create an off-screen 3D isosurface and export it as a PNG for your physics scalar field dataset.

Frequently Asked Questions about mayavi-3d-viz

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create publication-ready 3D visualizations from physics scalar field data?

To create publication-ready 3D visualizations from physics scalar field data, use Mayavi with VTK-backed pipelines to extract isosurfaces, generate contour plots, and perform volume slicing for high-resolution rendering.

Can I render electromagnetic vector fields using streamlines and quiver arrows?

Yes, you can render electromagnetic vector fields using Mayavi to plot vector magnitudes and directions with quiver arrows and streamline or flow lines, effectively depicting field evolution in 3D simulations.

Does Mayavi support offscreen rendering for batch rendering physics simulations?

Yes, Mayavi supports offscreen rendering for batch rendering physics simulations, allowing you to run VTK-backed pipelines in headless environments to export high-resolution images without an interactive display.

What is the best way to generate high-resolution PNG exports of 3D isosurfaces in a headless environment?

The best way to generate high-resolution PNG exports of 3D isosurfaces in a headless environment is using Mayavi's off-screen rendering capabilities combined with numpy and scipy to process the volumetric grid data.

Do I need numpy and scipy to prepare volumetric grid data for Mayavi 3D visualization?

Yes, you need numpy and scipy to generate and prepare field data, as Mayavi relies on these libraries alongside VTK-backed pipelines to process volumetric grids and execute the 3D visualization workflow.

Can I overlay streamlines on an isosurface to show how a physics field evolves?

Yes, you can overlay streamlines on an isosurface to show how a physics field evolves by combining Mayavi's vector field visualization capabilities with scalar field rendering within a single VTK pipeline.