Commit graph

57 commits

Author SHA1 Message Date
Grant Sanderson
a9349057ad Merge branch 'master' of github.com:3b1b/manim into video-work 2022-03-22 11:30:25 -07:00
Grant Sanderson
f690164087
Merge branch 'master' into master 2022-03-22 11:00:33 -07:00
widcardw
67f8007764
Fix the width of riemann rectangles 2022-03-17 14:10:30 +08:00
Grant Sanderson
bd6c731e67 Allow CoordinateSystem.coords_to_point to work on arrays of coords 2022-03-16 12:24:22 -07:00
TonyCrane
4fbe948b63
style: insert an empty line after import 2022-02-16 21:08:25 +08:00
TonyCrane
4c16bfc2c0
chore: add type hints to manimlib.mobject 2022-02-15 14:37:15 +08:00
Grant Sanderson
602809758e
Video work (#1739)
* Enable setting points to a null list, and adding one point at a time.

* Add refresh_locked_data

* Add presenter mode to scenes with -p option

* Allow for an embed by hitting e during interaction

* Add set_min_height, etc.

* Make sure null parametric curve has at least one point

* Account for edge case where \{ is used in Tex

* Allow for logging notes in wait calls, useful for presenter mode

* Simplify choose, and add gen_choose for fractional amounts

* Default to no top on axes

* Allow match_x, match_y, etc. to take in a point

* Allow wait calls to ignore presenter mode

* Just use math.combo, no caching with choose(n, r)

* Use generator instead of list in bezier

* Bubble init_colors should override

* Account for "px" values read in from an svg

* Stop displaying when writing is happening

* Update the way Bubble override SVG colors
2022-02-13 15:16:16 -08:00
YishiMichael
e8205a5049 Some refactors for MTex 2022-01-26 13:03:14 +08:00
Bill Xi
e80dd243f1
Added abstract method decorator and override 2022-01-17 20:27:34 +08:00
Grant Sanderson
e764da3c3a use quick_point_from_proportion for graph points 2021-11-16 17:37:27 -08:00
Grant Sanderson
7732d2f0ee Fix ComplexPlane -i display bug 2021-10-15 12:07:47 -07:00
Grant Sanderson
c726eb7a18 buf fix with get_lines_parallel_to_axis 2021-10-11 06:22:05 -07:00
Grant Sanderson
8645894255 Fix CoordinateSystem init bug 2021-08-24 11:26:22 -07:00
Grant Sanderson
56df15453f Fix bug with common range array used for all coordinate systems 2021-08-19 14:47:10 -07:00
Grant Sanderson
17452dcd10 Changing plane defaults 2021-07-28 07:32:45 -07:00
Grant Sanderson
0c61c908b2 Small fixes to Axes defaults 2021-03-31 23:26:10 -07:00
Grant Sanderson
8fcb069808 Added some methods to coordinate system to access all axes ranges 2021-02-25 08:45:49 -08:00
Tony031218
de3916424f fix x/y_range of CoordinateSystem 2021-02-10 11:03:07 +08:00
Grant Sanderson
f984443ed5 CoordinateSystem updates 2021-02-07 17:31:14 -08:00
Grant Sanderson
700d7c6def Axes.get_v_line_to_graph and Axes.get_h_line_to_graph 2021-02-07 09:56:28 -08:00
Grant Sanderson
e6fc323b6d Some changes to get_graph_label defaults 2021-02-06 11:39:39 -08:00
Grant Sanderson
6f69902892 Changed how configuration for labels on a NumberLine, and hence also on Axes, so that it takes in DecimalNumber configuration directly rather than as a separte dict. 2021-02-06 11:06:38 -08:00
Grant Sanderson
2c55f93512 Move (some) functionality from GraphScene to CoordinateSystem 2021-02-05 21:32:28 -08:00
Grant Sanderson
43614394a4 Set mob.make_smooth_after_applying_functions to True when preparing for a nonlinear transformation 2021-02-05 13:06:00 -08:00
Grant Sanderson
f91c81dd6a Rename TexMobject -> Tex and TextMobject -> TexText 2021-01-18 08:20:14 -10:00
Grant Sanderson
067f25d4b8 Make it so you can pass in x_range and y_range to NumberPlane 2021-01-07 16:37:23 -08:00
Grant Sanderson
c1143c875d Don't show bottom most number on axes 2020-08-16 09:45:13 -07:00
Grant Sanderson
58fe0c79d8 Reconfigured ParametricCurve 2020-06-06 11:43:59 -07:00
Grant Sanderson
7cec2e50d5 Rename: ParametricFunction -> ParametricCurve 2020-06-06 11:03:23 -07:00
Grant Sanderson
1a5fb207ae Reconfigured how to initialize axes and number planes. Hopefully much more sensible this way 2020-06-05 19:24:35 -07:00
Grant Sanderson
51eb9de9d0 A little cleaning up of 3d axes. More to come 2020-06-05 13:24:14 -07:00
Grant Sanderson
6e523ed960 Clearer defaults 2020-04-12 09:54:13 -07:00
Grant Sanderson
0ad64329f6 Fix to NumberPlane 2020-03-06 06:17:12 -08:00
Grant Sanderson
d794ff8bc9 Revert last change 2020-02-23 22:58:34 +00:00
Grant Sanderson
26dccfe9a7 Make input_to_graph_point always use a binary search, since graph's have uneven density now 2020-02-23 22:56:50 +00:00
Grant Sanderson
1018cca4eb Remove unneeded import 2020-02-07 09:36:56 -08:00
Grant Sanderson
77acc999cd Rename number_line_config to axis_config 2020-01-15 15:40:30 -08:00
Grant Sanderson
975c4dd03c Explicitly check for None, rather than truthiness, for Axes.get_coordinate_labels 2019-11-12 11:55:19 -08:00
Grant Sanderson
a535c6917e Added p2n and n2p abreviations for ComplexPlane 2019-06-23 16:25:22 -07:00
Grant Sanderson
828c3dcd7a Added c2p and p2c abbreviations to Axes 2019-05-27 19:47:57 -07:00
Grant Sanderson
644ac5c94a Added abbreviated names for number_to_point and point_to_number 2019-04-09 18:51:18 -07:00
Grant Sanderson
0ff7331dbe Move axis_label method higher to general CoordinateSystems 2019-04-06 14:00:52 -07:00
Grant Sanderson
46711a7e3a Fixed typo 2019-03-30 13:22:06 -07:00
Grant Sanderson
d8896e299e Small bug fixes to NumberPlane 2019-03-23 10:51:47 -07:00
Grant Sanderson
4a00161bee Fixed NumberPlane 2019-02-14 11:34:55 -08:00
Grant Sanderson
1735f16d68 Fixed NumberLine bug 2019-02-11 22:14:00 -08:00
Grant Sanderson
82f0afb4dd Got rid of ContinualUpdate 2019-02-11 15:48:44 -08:00
Grant Sanderson
fd15cc99a7 Changed how NumberPlane faded_line_style is created 2019-02-07 10:13:12 -08:00
Grant Sanderson
e3ee258d91 Replaced merge_config with merge_dicts_recursively 2019-02-06 21:32:42 -08:00
Grant Sanderson
d88c301622 Updating coordinate system mobjects 2019-02-06 21:16:26 -08:00