3536 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
8d14b66583 Fix previous commit 2021-01-10 08:38:47 -08:00
92b0953081 Move around where colormap code lives 2021-01-10 08:35:06 -08:00
e98ebfe9e1 Rename add_light -> finalize_color and leave room for other color manipulations 2021-01-09 22:11:38 -08:00
889acea380 Use matplotlib colormaps 2021-01-09 22:10:40 -08:00
0b41457d4e Remove COLORMAPS 2021-01-09 22:09:02 -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
677d609870 Tiny chantges 2021-01-09 10:30:42 -08:00
a429a146c7 Fix how stroke is scaled for perspective 2021-01-09 10:30:11 -08:00
ac4755459a Clamp perspective_scale_factor 2021-01-09 10:29:45 -08:00
ff37b589ff Remove import 2021-01-09 10:26:20 -08:00
81e359d22e Tie focal distance to camera fram height 2021-01-09 10:25:59 -08:00
632c35daef Fix bugs in stroke shader for 3d scenes 2021-01-08 22:28:34 -08:00
f47f848236 Change default focal distance as positioning function changes 2021-01-08 22:28:13 -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
8c7e93f829 Change to pan by scrolling 2021-01-08 22:26:14 -08:00
488387f1de Add to OpeningManimExample 2021-01-07 16:38:08 -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
42a3c56898 Limit how much is shown in display_during_execution 2021-01-07 16:37:01 -08:00
7b8677fd6c Push all mention of the #INSERT convention to a note in the insert file 2021-01-07 16:16:20 -08:00
5eee39803f Rename get_tex_string -> get_tex 2021-01-07 12:14:51 -08:00
6259d1c897 Update TexTransformExample 2021-01-07 12:11:58 -08:00
60c03831fb Simplify split_string_to_isolate_substrings, even though it's currently not used anywhere 2021-01-07 12:11:44 -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
5939f24cd4 Added key_map option and made key methods static 2021-01-07 11:48:16 -08:00
cfe61a35af Remove old 3d scene material and at stubs for potential new methods 2021-01-07 10:45:28 -08:00
c1298bdffd Add some more explanation to TexTransformExample 2021-01-06 16:14:55 -08:00
e187728f0c Add transform_mismatches option 2021-01-06 16:14:36 -08:00
4a19c48667 strip tex strings so that they're easier to match 2021-01-06 16:14:16 -08:00
63692ed59a Remove unused requirements 2021-01-06 14:24:17 -08:00
4ba5e733fb Change example scene referenced in readme 2021-01-06 14:24:05 -08:00
20f5ba409f A few improvements to mouse interactions 2021-01-06 12:48:58 -08:00
c65a7fb340 Add Window.is_key_pressed method 2021-01-06 12:47:13 -08:00
b13b94938a Remove no-longer-needed hack for pixel_coords_to_space_coords 2021-01-06 12:46:46 -08:00
825d6bdc5c Add higher resolution earth texture 2021-01-06 12:46:16 -08:00
62bb40a7df Change seek_full_path_from_defaults to find_file, and make it a more general function which will find and download urls if needed. This means for images/textures/etc. one can point online 2021-01-06 10:39:34 -08:00
065df65cf1 Reorganize how shader files sit in the shaders folder 2021-01-05 23:14:16 -08:00
6486938c59 Remove media_dir configuration, as that is covered by video_dir 2021-01-05 22:38:25 -08:00
9d7b2873bb Correct resolution description 2021-01-05 22:38:09 -08:00
3c1ab6ce25 Simple cleanup and removal of unused functions 2021-01-05 22:37:28 -08:00
446a69f7c0 Remove import 2021-01-05 22:10:08 -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