439 Commits

Author SHA1 Message Date
9314dfd933 Reframe Mobject, VMobject and SurfaceMobject with a data map 2021-01-11 10:57:23 -10:00
b3335c65fb Partial progress 2021-01-10 18:51:47 -08:00
fb0de62ef4 Slight change to colormap 2021-01-10 14:12:15 -08:00
bf73938fd1 Move joint type map to constants 2021-01-10 14:10:31 -08:00
92b0953081 Move around where colormap code lives 2021-01-10 08:35:06 -08:00
fdcc8d4257 Add ability to manipulate a mobjects shader code from python, and in particular to give it a coloring function, e.g. with Mobject.set_color_by_xyz_func 2021-01-09 18:52:54 -08:00
a7af5e72c6 Added Mobject.get_grid 2021-01-09 10:48:45 -08:00
cb87912203 Remove import 2021-01-08 22:27:15 -08:00
9a1e103a7f Introduce flat_stroke uniform 2021-01-08 22:26:47 -08:00
7db1f7786a Remove unused import 2021-01-07 16:37:35 -08:00
067f25d4b8 Make it so you can pass in x_range and y_range to NumberPlane 2021-01-07 16:37:23 -08:00
5eee39803f Rename get_tex_string -> get_tex 2021-01-07 12:14:51 -08:00
9122aa2419 Cleaned up TexMobject.break_up_tex_strings 2021-01-07 12:07:27 -08:00
007680a183 Rename substrings_to_isolate to simply isolate, and fix a bug associated with rendering sqrt{ 2021-01-07 11:50:15 -08:00
c2b5595fae If replacing a null mobject, just scale by 0 2021-01-07 11:49:03 -08:00
4a19c48667 strip tex strings so that they're easier to match 2021-01-06 16:14:16 -08:00
065df65cf1 Reorganize how shader files sit in the shaders folder 2021-01-05 23:14:16 -08:00
5b454a3ff7 Remove rotate_in_place and scale_in_place methods, as they had the same functionality as rotate and scale 2021-01-05 22:05:15 -08:00
06f0374143 Fix typo bug and change default alignment for text 2021-01-05 22:04:16 -08:00
dde085094f Refresh triangulation after general functions 2021-01-05 22:00:52 -08:00
f07bd23235 Rename apply_points_function_about_point -> apply_points_function 2021-01-05 21:58:43 -08:00
92386f4e20 Cleanup how tex_strings are handled, introducing the ability to simply surround substrings of the input with {{ and }} in order to make sure they are separated 2021-01-05 18:02:32 -08:00
349a9c9cea Add VMobject.get_opacity 2021-01-05 18:00:55 -08:00
556ffb192f In add_n_more_submobjects, for the benefit of align_submobjects, make it so that new copies are only ghosted out if there is some transparency at play 2021-01-05 18:00:34 -08:00
509f3db371 Change so that lambda is not given a name 2021-01-04 23:09:03 -08:00
8644d71820 Improve defaults for Lines/Arrows pointing between two mobjects 2021-01-04 17:25:05 -08:00
2cdebeda29 Add slice_by_tex method 2021-01-04 16:01:04 -08:00
131794e53c Change DotCloud initialization 2021-01-04 14:55:42 -08:00
a4ea4791e7 Added DotCloud type 2021-01-04 13:26:58 -08:00
31e6aa2ae0 Use super() 2021-01-04 13:25:42 -08:00
369a7fc455 Change it so that reset points is not necessarily called on mobject initialization 2021-01-04 13:25:04 -08:00
b22f1ab715 Remove reference to FILE_DIR 2021-01-03 17:25:37 -08:00
156ea11537 Fix the but for transforming between VMobjects with different triangulations. Turns out this is all that's needed 2021-01-03 17:17:20 -08:00
e43b8ef4e4 Remove prepare_for_animation 2021-01-03 17:16:08 -08:00
afebc29440 Remove container 2021-01-03 12:29:05 -08:00
572383f541 Have buff between Decimal digits change with font size 2021-01-03 12:03:39 -08:00
c2b16d768e Have decimal remember and match font size, not height 2021-01-03 11:44:53 -08:00
3b26a6c260 Clean up colors, e.g. replacing LIGHT_GREY and DARK_GREY with GREY_B and GREY_D 2021-01-02 22:44:53 -08:00
7b3f4d08f5 Replace the progress bar with a simple display of what's being written which then gets deleted 2021-01-02 21:32:48 -08:00
d2518df82c Add deprication warning 2021-01-02 21:32:07 -08:00
f11ab03112 Remove unnecessary imports 2021-01-02 21:31:56 -08:00
592432611b Remove all configuration from constants.py, and clean up the many files affected by this move 2021-01-02 20:47:51 -08:00
ba46164b49 Remove image showing methods from mobject 2021-01-02 19:02:22 -08:00
915b7ea3ad Removed some drawings specific to 3b1b videos 2021-01-01 20:20:48 -08:00
23f7bce427 Bug fix to add_smooth_curve_to 2021-01-01 20:12:34 -08:00
5a238f1551 Removed Logo from drawings 2021-01-01 20:12:02 -08:00
3a1f07492c Moved 3b1b specific content out of this project 2020-12-31 13:04:13 -08:00
1237ecc8f0 More percent sign exceptions 2020-12-17 15:59:14 -08:00
df6ea06f89 Have DecimalNumber take in a font size 2020-12-17 15:59:02 -08:00
2461248ef6 Allow Line to take in 2d arrays as arguments 2020-12-08 09:27:20 -08:00