{"_id":"manimgx","_rev":"4-88cc1baafadf1995093fe791f19bed6c","name":"manimgx","dist-tags":{"latest":"0.1.1"},"versions":{"0.0.0-stage":{"name":"manimgx","version":"0.0.0-stage","_id":"manimgx@0.0.0-stage","stub":true,"maintainers":[{"name":"sinaatalay","email":"sina@sinaatalay.com"}],"dist":{"shasum":"e261613cb202a6629bad380ba168bb6c99f3b915","tarball":"https://registry.npmjs.org/manimgx/-/manimgx-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-UHfM8WcACK367oTM0uGx+MjoSQtGyWb8TkjanN1t1SqsrkgjW8IZ42RQTV2J3a3QBluMwEYzMNQxeC3KXFqtnw==","signatures":[{"sig":"MEYCIQDqUOTIfNluotADiRlbVvVXNVztV3+VAHKCbzNQpFMoRAIhALtE44mOWCSrJfhIzBIxkV+BN+MioFiGwJyUWwKQZWnz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":329},"_npmUser":{"name":"sinaatalay","email":"sina@sinaatalay.com"},"description":"Temporary package placeholder for staged publishing","directories":{}},"0.1.0":{"name":"manimgx","version":"0.1.0","keywords":["manim","manimgx","animation","math","python","pyodide","webgpu","video","player"],"author":{"name":"Academa, Inc."},"license":"MIT","_id":"manimgx@0.1.0","maintainers":[{"name":"sinaatalay","email":"sina@sinaatalay.com"}],"contributors":[{"name":"Sina Atalay","email":"sina.atalay@academa.ai"},{"name":"Abdullah Geduk","email":"geduk@academa.ai"}],"homepage":"https://manimgx.academa.ai/","bugs":{"url":"https://github.com/academa-labs/manimgx/issues"},"dist":{"shasum":"20509c212c2b20f9ce3b138a2abb4e98975b80f7","tarball":"https://registry.npmjs.org/manimgx/-/manimgx-0.1.0.tgz","fileCount":8,"integrity":"sha512-womvzXY1IKPEHgYfKzIrAfMP2GlpTSRRF/ojDnY5p+Fz185JFeV3Pm4238VOJihZCXBVJuu32BmZada8y7s6Jg==","signatures":[{"sig":"MEUCIGxVtkePtt8r2LV6HzQ0WywOWwXH2yuo8B1Z1hzyBD/iAiEAsyYAZ9s8RcYzPIvONd8Yl05ylvPE9K2OYF39sMHn7QU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIBLtrqoqE97g+jWR90ENX0TNSRGijqxrlXsv1p7N3EH1AiANpfrv/T+fEC7+eit5KypByFqhgycjhRCdTEhniJOOvw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/manimgx@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20106},"type":"module","_from":"file:/home/runner/work/manimgx/manimgx/dist/manimgx-0.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/manimgx.js"},"./package.json":"./package.json"},"scripts":{"test":"bun run build && bun test tests && bun run test:types","build":"bun run check && bun run build.ts && tsc --project tsconfig.json --noEmit false --declaration --emitDeclarationOnly --outDir dist","check":"bun run format:check && tsc --project tsconfig.json && tsc --project tsconfig.worker.json && tsc --project tsconfig.build.json","format":"prettier --write src tests build.ts '*.json'","test:types":"tsc --project tests/tsconfig.json","format:check":"prettier --check src tests build.ts '*.json'"},"_npmUser":{"name":"sinaatalay","email":"sina@sinaatalay.com"},"_resolved":"/home/runner/work/manimgx/manimgx/dist/manimgx-0.1.0.tgz","_integrity":"sha512-womvzXY1IKPEHgYfKzIrAfMP2GlpTSRRF/ojDnY5p+Fz185JFeV3Pm4238VOJihZCXBVJuu32BmZada8y7s6Jg==","repository":{"url":"git+https://github.com/academa-labs/manimgx.git","type":"git","directory":"browser"},"_npmVersion":"11.19.0","description":"The animation engine for agents, in the browser: blazingly fast math and 3D videos with Manim's Python API, run by Pyodide in a Web Worker, on a Rust GPU core with WebGPU.","directories":{},"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"prettier":"3.9.9","@types/bun":"1.4.2","typescript":"7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/manimgx_0.1.0_1791365881150_0.513528642099593","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"_id":"manimgx@0.1.1","bugs":{"url":"https://github.com/academa-labs/manimgx/issues"},"dist":{"shasum":"473c32e52858d1c9ab47f620c0403b33b5dafe50","tarball":"https://registry.npmjs.org/manimgx/-/manimgx-0.1.1.tgz","fileCount":8,"integrity":"sha512-Js3BxW1issUDISJWgQImD6zLQ36hTRaOYcu1GCIwivIZ0178gUr4rH7HQPTWE9Vwp0bXmQxX8MEfa1855BQadQ==","signatures":[{"sig":"MEUCICeB1YgQSwlGgmOESKd0T4I9T7ShA4xWlvOcUYkgPON0AiEAk+9IdLXlu2PlVEP0BfUG/xpM/j/RZrfYbMUkBizs/N0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDAw6XCQbBr+IYtztJmWBqM0S56YtWN2ghnZKjM32s/8wIhAO9MBYLOuUc5tNATAFG/9wT9zIHm0npwAnxcJUeOcB51"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/manimgx@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20123},"name":"manimgx","type":"module","_from":"file:/home/runner/work/manimgx/manimgx/dist/manimgx-0.1.1.tgz","types":"./dist/index.d.ts","author":{"name":"Academa Team","email":"team@academa.ai"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/manimgx.js"},"./package.json":"./package.json"},"license":"MIT","scripts":{"test":"bun run build && bun test tests && bun run test:types","build":"bun run check && bun run build.ts && tsc --project tsconfig.json --noEmit false --declaration --emitDeclarationOnly --outDir dist","check":"bun run format:check && tsc --project tsconfig.json && tsc --project tsconfig.worker.json && tsc --project tsconfig.build.json","format":"prettier --write src tests build.ts '*.json'","test:types":"tsc --project tests/tsconfig.json","format:check":"prettier --check src tests build.ts '*.json'"},"version":"0.1.1","_npmUser":{"name":"sinaatalay","email":"sina@sinaatalay.com"},"homepage":"https://manimgx.academa.ai/","keywords":["manim","manimgx","animation","math","python","pyodide","webgpu","video","player"],"_resolved":"/home/runner/work/manimgx/manimgx/dist/manimgx-0.1.1.tgz","_integrity":"sha512-Js3BxW1issUDISJWgQImD6zLQ36hTRaOYcu1GCIwivIZ0178gUr4rH7HQPTWE9Vwp0bXmQxX8MEfa1855BQadQ==","repository":{"url":"git+https://github.com/academa-labs/manimgx.git","type":"git","directory":"browser"},"_npmVersion":"11.19.0","description":"The animation engine for agents, in the browser: blazingly fast math and 3D videos with Manim's Python API, run by Pyodide in a Web Worker, on a Rust GPU core with WebGPU.","directories":{},"maintainers":[{"name":"sinaatalay","email":"sina@sinaatalay.com"},{"name":"apoogdk","email":"abdullah.geduk@gmail.com"}],"_nodeVersion":"24.21.0","contributors":[{"name":"Sina Atalay","email":"sina.atalay@academa.ai"},{"name":"Abdullah Geduk","email":"geduk@academa.ai"}],"_hasShrinkwrap":false,"devDependencies":{"prettier":"3.9.9","@types/bun":"1.4.2","typescript":"7.0.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/manimgx_0.1.1_1791414138069_0.8129111781933551"}}},"time":{"created":"2026-10-07T09:35:23.517Z","modified":"2026-10-07T23:02:18.707Z","0.0.0-stage":"2026-10-07T09:35:23.517Z","0.1.0":"2026-10-07T09:38:01.234Z","0.1.1":"2026-10-07T23:02:18.213Z"},"bugs":{"url":"https://github.com/academa-labs/manimgx/issues"},"author":{"name":"Academa Team","email":"team@academa.ai"},"license":"MIT","homepage":"https://manimgx.academa.ai/","keywords":["manim","manimgx","animation","math","python","pyodide","webgpu","video","player"],"repository":{"url":"git+https://github.com/academa-labs/manimgx.git","type":"git","directory":"browser"},"description":"The animation engine for agents, in the browser: blazingly fast math and 3D videos with Manim's Python API, run by Pyodide in a Web Worker, on a Rust GPU core with WebGPU.","contributors":[{"name":"Sina Atalay","email":"sina.atalay@academa.ai"},{"name":"Abdullah Geduk","email":"geduk@academa.ai"}],"maintainers":[{"name":"sinaatalay","email":"sina@sinaatalay.com"},{"name":"apoogdk","email":"abdullah.geduk@gmail.com"}],"readme":"# ManimGX\n\n[ManimGX](https://manimgx.academa.ai/) in the browser: a scene written in Python, with Manim\nCommunity Edition's API, made and played in the page by ManimGX's own player, drawn with\nWebGPU.\n\n```sh\nnpm install manimgx\n```\n\n```html\n<script type=\"module\">\n  import \"manimgx\";\n</script>\n\n<manimgx-player autoplay>\n  <script type=\"text/python\">\n    import manimgx as m\n\n    class Euler(m.Scene):\n        def construct(self):\n            circle = m.Circle(color=m.BLUE, fill_opacity=0.5)\n            self.play(m.Create(circle), m.Write(m.MathTex(r\"e^{i\\pi} + 1 = 0\").next_to(circle, m.DOWN)))\n  </script>\n</manimgx-player>\n```\n\nOr from JavaScript:\n\n```js\nimport \"manimgx\";\n\nconst player = document.createElement(\"manimgx-player\");\nplayer.source = code; // a Python module; set it again, and the film is made again, the time kept\ndocument.body.append(player);\n```\n\n- **Python, in the page.** [Pyodide](https://pyodide.org) runs the scene in a Web Worker, with\n  ManimGX installed from PyPI (the same version as this package). Nothing runs on a server.\n- **ManimGX's own player**, the one `manimgx preview` plays a file in: the engine compiled to\n  WebAssembly draws the film with WebGPU, and its face over it: the controls, the time, the\n  timeline in the scene's plays (each named by its line of code), captions, the scene's error\n  and the keys (`?` lists them), all in ManimGX's fonts. A click, a tap and a key do the same.\n- **Any frame, at once**: the film is recorded as it is made (a *take*: each shape once, then\n  each frame), and any moment of it is drawn at once, so it plays before the scene has\n  finished and seeks instantly. Each frame is drawn at the size the page shows it, in the\n  screen's own pixels: sharp at any size, full screen too.\n- **For scripts**: `play()`, `pause()`, `paused`, `currentTime`, `duration`, and `scene`.\n\nThe first film downloads Python (Pyodide, about 6 MB) and ManimGX (about 20 MB); the browser\nkeeps both. It needs WebGPU: Chrome and Edge 113+, Safari 26, Firefox 141+ on Windows (not yet\nwith the float32 blending ManimGX's renderer uses). The adapter must support float32\nblending and `depth32float-stencil8`: the renderer uses floating-point depth to preserve\ndistant surfaces' depth differences.\n\nOne file, no dependencies, any bundler. On the command line, `manimgx preview scene.py` plays a\nscene file in a window of its own: the same player.\n","readmeFilename":"README.md"}