--- id: meshcat version: "0.3.2" license: MIT license_treatment: permissive maintenance: dormant --- # meshcat — WebGL-based visualizer for 3D geometries and scenes License: permissive · Maintenance: dormant · Downloads: 1.4M/mo ## What it is and what it does meshcat is a Python binding to a WebGL-based 3D viewer that runs entirely in your browser. It uses a client-server architecture: the viewer is a web application built on three.js, and the Python library communicates with a server via ZeroMQ and WebSockets. You build a scene by adding geometries and transformations to a hierarchical path structure, then manipulate them remotely from your Python code—useful for visualizing robot configurations, mechanism animations, point clouds, and other 3D data without needing external graphics libraries. The package depends on ipython, numpy, tornado, pyzmq, u-msgpack-python, pyngrok, and pillow. It is distributed as a pure Python wheel with low installation friction, though you must have ZeroMQ libraries installed on your system first. Use it for: - Visualize robot configurations and kinematic chains in real time during simulation or planning. - Animate mechanisms and mechanical systems by updating transforms over time. - Display point clouds and mesh geometries for computer vision or 3D data inspection. - Create interactive 3D debugging views in Jupyter notebooks for algorithm development. - Build custom 3D visualization dashboards that run in any modern web browser. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. meshcat is a Python interface to a browser-based 3D WebGL viewer that lets you remotely control and visualize 3D geometries, scenes, and transformations via a scene graph. Yes, if you need browser-based 3D visualization and can tolerate dormant maintenance. The low install friction, permissive MIT license, and clean Python API make it straightforward to integrate. Verify compatibility with your Python version and browser before committing to production use. Best suited for research, prototyping, and interactive development. ## Install pip install meshcat uv add meshcat poetry add meshcat ## Installing meshcat Before you install: Low friction installation; the package itself is pure Python and wheel-distributed. System-level ZeroMQ libraries must be installed separately before pip install will work. License in practice: MIT license is permissive; you can use, modify, and distribute meshcat freely in commercial and private projects with minimal restrictions, provided you retain the license notice. Quickstart: pip install meshcat from meshcat import Visualizer import meshcat.geometry as g import meshcat.transformations as tf vis = Visualizer() vis["box"].set_object(g.Box([0.5, 0.5, 0.5])) vis["box"].set_transform(tf.translation_matrix([1, 2, 3])) ZeroMQ development libraries must be installed on your system before pip install meshcat will succeed. Verify before relying: - Whether the package works reliably with modern Python versions given dormant maintenance status. - Current state of browser compatibility and three.js version requirements. - Whether pyngrok integration is actively used or a legacy artifact. - Active bug fixes or feature development status post-2024-05-07. ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: dormant - Downloads: 1.4M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags 3D visualization WebGL, remote 3D viewer, scene graph visualization, browser-based 3D graphics, interactive 3D geometry display, robot visualization, mechanism animation, 3d-visualization, webgl, robotics [View on SkillFed](https://skillfed.io/packages/meshcat) · [View on PyPI](https://pypi.org/project/meshcat/)