972 Commits

Author SHA1 Message Date
b7bd40a6f6 make window_position changeable 2021-01-16 10:46:30 +08:00
453ccc2765 remove unnecessary comment 2021-01-16 10:23:11 +08:00
f6b5edede2 reduce annoying errors 2021-01-16 10:21:42 +08:00
3d118a5bb6 change the method of reset submobjects 2021-01-16 10:20:41 +08:00
314c847463 remove unused NOT_SETTING_FONT_MSG 2021-01-16 09:40:05 +08:00
7f27e926f2 replace single quotes with double quotes 2021-01-16 09:37:54 +08:00
5f6b653803 improve Text's handling of non-display characters 2021-01-16 09:35:13 +08:00
c698c6ea44 Fix Point.set_location 2021-01-15 11:10:57 -10:00
4e4a7b9886 Have background rectangle match background color by default 2021-01-15 10:20:50 -10:00
b423a423b5 Make customization more accessible 2021-01-15 10:16:37 -10:00
d37de184d2 Set gamma properly 2021-01-15 09:27:51 -10:00
bec3ba70eb Merge pull request #1315 from Tony031218/shaders
Fix some bugs of the shaders branch
2021-01-15 11:13:33 -08:00
08e22cf859 Bug fix to apply_points_function 2021-01-15 09:02:07 -10:00
1f3b058aa9 Simplify Point.set_location 2021-01-15 08:55:40 -10:00
d4c89e520f Reorganize methods and how triangulation gets refreshed 2021-01-15 08:55:19 -10:00
7c04edcced improve Text's size 2021-01-15 23:39:24 +08:00
97ecfcda9b remove media_dir.txt in scene/ 2021-01-15 22:57:22 +08:00
c6fcaa93bb remove stream_starter 2021-01-15 22:49:11 +08:00
f696ba4100 add an example for Text 2021-01-15 21:11:17 +08:00
1d1706039e remove an unnecessary import 2021-01-15 20:25:17 +08:00
78848b971c fix a wrong usage of logging.log 2021-01-15 20:21:17 +08:00
79b8136330 fix Text in shaders 2021-01-15 20:21:17 +08:00
f314054081 Small cleanup/reorganizing of Mobject methods 2021-01-14 15:07:35 -10:00
7b67f4556b Reorganize Mobject methods and remove ones that are not longer needed 2021-01-14 14:15:58 -10:00
8f6b006cc8 Speeds up Mobject.get_center and Mobject.get_corner 2021-01-14 09:31:41 -10:00
281b38b860 Small fixes to make sure storing the bounding box works 2021-01-14 01:38:40 -10:00
f90e4147b6 Save bounding box information, which speeds up most mobject manipulations 2021-01-14 01:01:43 -10:00
d53dbba346 Always call super for init_data 2021-01-14 01:01:13 -10:00
098b939ec0 Specify default about_edge for Rotate 2021-01-14 01:00:53 -10:00
8b83c5e27d Performance improvement for Write 2021-01-13 11:55:45 -10:00
2c27511556 Remove null_point_align 2021-01-13 11:55:26 -10:00
9f5f682351 Factor out get_num_string 2021-01-13 11:11:25 -10:00
39cdae0983 Match uniforms in Mobject.become 2021-01-13 10:23:42 -10:00
b40a3b5710 Buf fix with Arrow 2021-01-13 09:28:52 -10:00
38b305bb19 Fix issue with pointwise_become_partial 2021-01-13 09:21:22 -10:00
8cc484943e Remove note 2021-01-13 09:21:00 -10:00
d29cfd842f Iterations and indexing into mobject should only look at submobjects, none of this sometimes self is included and sometimes it isn't business 2021-01-13 09:20:47 -10:00
2e3a112ff8 Treat Matrix.mob_matrix as list rather than numpy matrix, since it sometimes interprets mobjects as sequences 2021-01-13 09:20:11 -10:00
d65a915e7b Initialize colors properly with new TexMobject structure 2021-01-13 08:18:24 -10:00
5f69899e65 Fix bug where all members of a family pointed to the same rgba array 2021-01-13 08:17:43 -10:00
5e09a80c5b Bug fix, call super().finish() 2021-01-13 00:35:57 -10:00
f61dfe7948 Tiny change 2021-01-13 00:35:39 -10:00
bf3571c103 Have DecimalMobject look to the same cache that TexMobjects do 2021-01-13 00:24:40 -10:00
20593d8fa8 Change how DecimalNumber.set_value works so that it's not creating new instances each time 2021-01-13 00:12:08 -10:00
6537258f24 Cache already computed TexMobjects 2021-01-13 00:11:27 -10:00
fda7fff146 Allow caching of shader program code 2021-01-13 00:10:17 -10:00
00333d0a4d Bug fix 2021-01-13 00:09:56 -10:00
ad60b903d0 Allow configuration of VMobjectFromSVGPathstring from SVGMobject 2021-01-13 00:09:36 -10:00
091cd355d4 Clean up trash from ChangingDecimal 2021-01-13 00:09:10 -10:00
dd2a459eaa Refresh shader data before aligning new data 2021-01-13 00:08:40 -10:00