Skip to main content

A fork of Manim Physics for Manim Web

Project description

Manim Web Physics: A fork of Manim Physics for Manim Web

Introduction

Manim Physics is a plugin for Manim that provides support for many physics simulations, including rigid mechanics, optics, and more. This fork, manim-web-physics, is specifically designed to work with Manim Web, making it easier to create physics-based animations in a web environment. It's the same code, but manim dependency is replaced with manim-web and some minor changes to the code to ensure compatibility with Manim Web.

Official Documentation: https://manim-physics.readthedocs.io/en/latest/

Note: If something is not working, maybe you must make some minor changes to your scene's code, as Manim Web has some differences compared to Manim. Check this at Manim Web's repository.

Installation

Just install manim-web-physics with Pyodide's micropip:

import micropip

await micropip.install("manim-web-physics")

So important: You will need to download the pymunk wheel file from here, as it's not available in PyPI. After downloading, you can install it with:

import micropip

await micropip.install("path/to/pymunk-7.0.1-cp312-cp312-pyodide_2024_0_wasm32.whl")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

manim_web_physics-0.1.0.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

manim_web_physics-0.1.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

Details for the file manim_web_physics-0.1.0.tar.gz.

File metadata

  • Download URL: manim_web_physics-0.1.0.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.11.9 Windows/10

File hashes

Hashes for manim_web_physics-0.1.0.tar.gz
Algorithm Hash digest
SHA256 71342de76eb47c1e5c0b94bb785871712561d199bb58d264f646bd7ea61a163b
MD5 335f83b5c2acd03df5ee5cb4d963038d
BLAKE2b-256 8f19cf3866d88a95764251dc3320027d9ace4cf19e35048c9fcf09a9a4498e39

See more details on using hashes here.

File details

Details for the file manim_web_physics-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: manim_web_physics-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.11.9 Windows/10

File hashes

Hashes for manim_web_physics-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 104d9637d897792e3633ce23163aa8b26ae4003414e0b60e952c93a506b28413
MD5 056d12cdaf4d29f08ed9446be56766bb
BLAKE2b-256 2bf8eaa4bf017d787299f6fc6875b2f091f6fd9c8c171407f90bc73e2db4faae

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page