127 Commits

Author SHA1 Message Date
66817c4e2b Add alternate smoothing options 2021-02-05 16:29:07 -08:00
25cd846356 Fix and simplify get_smooth_quadratic_bezier_handle_points so that VMobject.make_smooth works better 2021-02-05 15:25:17 -08:00
1727d4b86a Small hacky tweak to fix more triangulation issues 2021-02-03 17:52:11 -08:00
c040dba835 Merge pull request #1338 from sahilmakhijani/master
Changed manim downloads location from default to custom_default config
2021-02-03 11:59:09 -08:00
c8f4c49720 Yet another triangulation fix 2021-02-03 10:07:00 -08:00
0c6149c9dd Minor cleanup to triangulation 2021-02-02 16:43:24 -08:00
ddcd052036 Performance improvements for triangulation 2021-02-02 16:26:25 -08:00
2fbe0c6ee6 Performance improvement for triangulation 2021-02-02 16:19:45 -08:00
1097f0df96 Small cleanups 2021-02-02 15:56:55 -08:00
729dae1376 Fix triangulation issue for polygons with many holes 2021-02-02 15:35:03 -08:00
32632367b6 Changed manim downloads location from default to custom_default config 2021-02-03 00:04:30 +05:30
a3754fa606 Interactive Mobjects added 2021-01-28 14:02:43 +05:30
090743aacb Fix how sound files are found 2021-01-23 11:02:02 -08:00
b423a423b5 Make customization more accessible 2021-01-15 10:16:37 -10:00
79b8136330 fix Text in shaders 2021-01-15 20:21:17 +08:00
6b29691e0e Allow setting of multiple colors/opacities/stroke_widths 2021-01-11 17:52:48 -10:00
d6a00bc32d Don't call np.resize when length shouldn't change 2021-01-11 16:36:42 -10:00
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
42a3c56898 Limit how much is shown in display_during_execution 2021-01-07 16:37:01 -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
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
6c0f00b4a1 Reimplement stretch_array_to_length 2021-01-04 13:26:29 -08:00
e5c79cbb90 Directly cache svg file instead of tex, and don't store superfluous files associated with tex rendering 2021-01-03 11:29:09 -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
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
4e54c6de54 Fix rgb_to_hex bug 2020-11-24 13:29:27 -08:00
72472c5836 Refactor in terms of a ShaderWrapper object 2020-07-22 18:21:42 -07:00
ae8e8040d7 New implementation of smooth 2020-07-22 18:19:07 -07:00
2671817ae9 Refactor away from treating shader_info as a dictionary, and make it a proper type as ShaderWrapper. This also includes some cleanup in hos Camera renders 2020-06-29 18:17:18 -07:00
2b3bd2bfce Use an index buffer for shaders to save memory 2020-06-29 11:05:09 -07:00
439e83f40e set_array_by_interpolation 2020-06-28 12:15:01 -07:00
279f66ceaf A little refactoring and performance improvement 2020-06-28 12:14:46 -07:00
b443c9e764 Fixed bug at a = 1 for partial_bezier 2020-06-27 12:17:41 -07:00
54bde86c7b Some small performance improvements to VMobject 2020-06-27 12:10:22 -07:00
10c6bfe3ad Add refresh_shader_info_id insetead of having create_shader_info_id called all the time 2020-06-27 00:01:45 -07:00
60e1c88eb4 Slight tweaks to how shader_info id is found and stored 2020-06-26 23:05:25 -07:00
212cdbb4d2 Speed improvements. Camera saves vbo for static mobjects, data in shader_data_info is saved and concatenated in raw form 2020-06-26 19:29:34 -07:00
5ce8d08e0f Go back to recomputing shader id 2020-06-17 17:10:35 -07:00
edec91e1e4 Unfactor internals of batch_by_property for easier readibility, and slight performnace improvement 2020-06-15 12:00:03 -07:00
1e6eef89ec Have shader_info remember its own id 2020-06-15 11:59:24 -07:00
9d772496dd Removes the need to be able to recover shader_info from shader_id 2020-06-14 19:01:04 -07:00
222b6d1220 Push depth test decision to the mobject level, as opposed to the camera 2020-06-14 17:41:47 -07:00
8a060dfa3f Add axis_normalized option to quaternion_from_angle_axis 2020-06-09 20:40:36 -07:00
3e913b6649 Have make_smooth work directly from the quadratic bezier curves, without going via cubics and doubling the size of the points list 2020-06-09 16:58:16 -07:00
c7a50ac7a5 Tried, but failed, to write a better smooth bezier function 2020-06-09 12:38:37 -07:00
f0a36329b1 Changed get_quadratic_approximation_of_cubic 2020-06-08 20:40:39 -07:00
bab809b9a6 Allow for passing shader uniforms from mobjects 2020-06-08 15:57:12 -07:00