6187 Commits

Author SHA1 Message Date
5a70d67b98 Update coordinate_systems.py (#2258) 2024-12-05 14:49:16 -08:00
66862db9b2 Drop pyrr (#2256) 2024-12-05 14:43:14 -08:00
5d3f730824 Cleaning up some imports + Minor Bug fixed in VectorField (#2253)
* cleaning up imports

* sample_points -> sample_coords
2024-12-05 14:42:46 -08:00
8239f1bf35 Update README.md for better readability (#2246) 2024-11-26 10:11:04 -08:00
1fa17030a2 Add reload() command for interactive scene reloading (#2240)
* Init reload command (lots of things not working yet)

* Add back in class line (accidentally deleted)

* Add back in key modifiers (accidentally deleted)

* Unpack tuple from changed `get_module`

* Init MainRunManager & respawn IPython shell

* Init cleanup of scenes from manager

* Restore string quotes

* Still take `self.preview` into account

* Remove left-over code from module experimentation

* Remove double window activation

* Reset scenes array in RunManager

* Move self.args None check up

* Use first available window

* Don't use constructor for RunManager

* Use self. syntax

* Init moderngl context manually

* Add some comments for failed attempts to reset scene

* Reuse existing shell (this fixed the bug 🎉)

* Remove unused code

* Remove unnecessary intermediate ReloadSceneException

* Allow users to finally exit

* Rename main_run_manager to reload_manager

* Add docstrings to `ReloadManager`

* Improve reset management in window

* Clarify why we use magic exit_raise command

* Add comment about window reuse

* Improve docstrings in ReloadManager & handle case of 0 scenes

* Set scene and title earlier

* Run linter suggestions
2024-11-26 10:09:43 -08:00
530cb4f104 Merge pull request #2250 from 3b1b/video-work
Video work
2024-11-25 13:44:08 -06:00
85638d88dc Update parameter range for sphere 2024-11-25 12:39:41 -07:00
fbce0b132c Temporary band-aide for degenerate normal vector calculations
This solution is a bit too specific to the case of spheres.
2024-11-25 12:39:32 -07:00
dd51b696e5 Only apply non-flat-stroke correction in non-zero joint angle vertices 2024-11-25 12:35:32 -07:00
9cd6a87ff8 Make sure VMobject uniform flat_stroke matches the use inside the quadratic_bezier/stroke/geom.glsl code 2024-11-25 12:28:31 -07:00
54c8a9014b Add scale_stroke_with_zoom option to VMobject 2024-11-25 11:27:11 -07:00
e19ceaaff0 Have TexMobject keep track of font_size 2024-11-25 11:02:54 -07:00
5b88d2347c Allow for LaTeX in DecimalNumber, e.g. for units 2024-11-25 11:01:38 -07:00
c6b9826f84 Update TimeVaryingVectorField to match new VectorField configuration 2024-11-25 10:50:12 -07:00
90ab2f64bb Clean up style arguments on VectorField 2024-11-25 10:49:29 -07:00
ed2f9f3305 Fix import of pyplot 2024-11-25 10:49:05 -07:00
1d0deb8a33 Remove OldVectorfield 2024-11-25 10:14:23 -07:00
753a042dbe Remove unused method 2024-11-25 10:13:44 -07:00
55b12c902c Use density as a parameter instead of step_multiple 2024-11-25 10:13:37 -07:00
e80b9d0e47 Less collision-prone file names for downloads 2024-11-25 09:31:15 -07:00
1248abd922 Merge pull request #2233 from mitkonikov/modifier-keys-fix
Properly check modifier keys.
2024-11-25 10:09:10 -06:00
314ca89a45 Merge pull request #2241 from Splines/feature/focus
Add `focus()` command
2024-11-25 10:06:48 -06:00
0ad5a0e76e Further development on VectorField 2024-11-15 09:07:46 -08:00
64ae1364ca Update the Vector Field interface 2024-11-12 11:21:19 -08:00
af923a2327 Add docstring to user-facing focus() method 2024-11-10 19:10:53 +01:00
97b6e39abb Init new focus() command 2024-11-10 18:48:33 +01:00
b84376d6fd Add Cone 2024-11-08 14:28:17 -06:00
9475fcd19e Have clip plane recurse through family 2024-11-08 14:27:20 -06:00
003c4d8626 Merge pull request #2231 from MathItYT/master
Fix bad 3D overlapping
2024-10-27 13:07:35 -05:00
693a859caf revert changes in mobject.py and camera.py 2024-10-27 14:10:12 -03:00
52948f846e Merge branch 'master' of https://github.com/MathItYT/manimgl 2024-10-27 14:07:03 -03:00
1738876f43 fix bad 3D overlapping using z_index 2024-10-27 14:06:35 -03:00
dc731f8bf2 Properly check modifier keys. 2024-10-25 00:01:30 +02:00
e5cf0558d8 fix 3D bad overlapping 2024-10-23 20:31:52 -03:00
1139b545f9 Merge pull request #2214 from 3b1b/update-pango-requirement
Update ManimPango requirement
2024-10-23 17:59:08 -05:00
0b65e4c7b6 Merge pull request #2220 from Varniex/master
Minor Bug fixed: window's bg color now changing.
2024-10-23 17:58:52 -05:00
371fca147b Update version in setup.cfg 2024-10-23 17:54:18 -05:00
e1816c2ac5 Merge pull request #2230 from 3b1b/video-work
Misc. bug fixes
v1.7.1
2024-10-23 17:44:08 -05:00
199395b6e3 Fix negative winding issue
https://github.com/3b1b/manim/issues/2146
2024-10-23 17:40:31 -05:00
837bb14c03 Merge branch 'master' of github.com:3b1b/manim into video-work 2024-10-23 11:41:29 -05:00
eca370f5ce Merge pull request #2229 from 3b1b:add-dependency
Add mapbox-earcut dependency
2024-10-23 11:41:06 -05:00
5505fc1d54 Add mapbox-earcut dependency 2024-10-23 11:40:14 -05:00
04295ec177 Minor Bug fixed: window's bg color now changing. 2024-10-20 16:53:47 +05:30
0c7c9dee93 Merge branch 'master' of github.com:3b1b/manim into video-work 2024-10-17 12:43:57 -05:00
1a65498f97 Merge pull request #2218 from 3b1b/3b1b-patch-1
Update setup.cfg
2024-10-17 12:43:28 -05:00
a34c4482f6 Update setup.cfg 2024-10-17 10:43:18 -07:00
e3e87f6110 Update Pango requirement 2024-10-17 12:32:11 -05:00
aaa28a2712 Discard transparent parts of textured surfaces 2024-10-17 12:31:53 -05:00
aa18373eb7 Update ManimPango requirement 2024-10-15 09:51:55 -07:00
d499544366 Merge pull request #2180 from fofoni/fix-ipython-scope
Fix `NameError` when a pasted function attempts to access a variable in its outer scope
v1.7.0
2024-10-13 20:57:19 -05:00