Skip to content

Webgpu render for Manim - #4968

Open
mayanksuman wants to merge 35 commits into
ManimCommunity:mainfrom
mayanksuman:webgpu_render
Open

Webgpu render for Manim#4968
mayanksuman wants to merge 35 commits into
ManimCommunity:mainfrom
mayanksuman:webgpu_render

[pre-commit.ci] auto fixes from pre-commit.com hooks

2aeeec1
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Aug 27, 2026 in 7s

31 new alerts including 2 errors

New alerts in code changed by this pull request

  • 2 errors
  • 2 warnings
  • 27 notes

Alerts not introduced by this pull request might have been detected because the code changes were too large.

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 2717 in manim/renderer/webgpu/webgpu_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error

Local variable '_saved_2d' may be used before it is initialized.

Check failure on line 2718 in manim/renderer/webgpu/webgpu_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Potentially uninitialized local variable Error

Local variable '_saved_3d' may be used before it is initialized.

Check warning on line 2615 in manim/renderer/webgpu/webgpu_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'oit_fd' is unnecessary as it is
redefined
before this value is used.

Check warning on line 2412 in manim/renderer/webgpu/webgpu_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Variable defined multiple times Warning

This assignment to 'fixed_frame_mobs' is unnecessary as it is
redefined
before this value is used.

Check notice on line 3165 in manim/renderer/webgpu/webgpu_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Check notice on line 2808 in manim/renderer/webgpu/webgpu_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Check notice on line 192 in manim/renderer/webgpu/webgpu_interactive.py

See this annotation in the file changed.

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Check notice on line 77 in manim/renderer/webgpu/webgpu_interactive.py

See this annotation in the file changed.

Code scanning / CodeQL

Module is imported with 'import' and 'import from' Note

Module 'manim' is imported with both 'import' and 'import from'.

Check notice on line 126 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 124 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 121 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 119 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 117 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 115 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 111 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 109 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 73 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 72 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 71 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 70 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 65 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 62 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 61 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 58 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.

Check notice on line 57 in manim/renderer/base_renderer.py

See this annotation in the file changed.

Code scanning / CodeQL

Statement has no effect Note

This statement has no effect.