497 Commits

Author SHA1 Message Date
f91c81dd6a Rename TexMobject -> Tex and TextMobject -> TexText 2021-01-18 08:20:14 -10:00
68a8114d7a Remove unused Rectangle import 2021-01-18 08:13:18 -10:00
9c524fe3a7 Be sure Mobject.set_points and Mobject.set_data returns self 2021-01-18 08:06:33 -10:00
b3c8940a18 Bug fix to Mobject.align_family and Mobject.add_n_more_submobjects 2021-01-18 08:06:12 -10:00
1b1b138860 Merging #1316 2021-01-17 17:24:08 -10:00
86bfa4c39c Improvements to DotCloud 2021-01-17 13:40:52 -10:00
453ccc2765 remove unnecessary comment 2021-01-16 10:23:11 +08:00
3d118a5bb6 change the method of reset submobjects 2021-01-16 10:20:41 +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
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
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
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
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
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
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
dd2a459eaa Refresh shader data before aligning new data 2021-01-13 00:08:40 -10:00
bbe79e0026 Tiny comment 2021-01-12 16:08:35 -10:00
7af100489b Include font_size in data 2021-01-12 13:08:24 -10:00
f1c32b64cc Default to apply animations over family rather than family_members_with_points 2021-01-12 13:08:01 -10:00
d60ec48591 Track/interpolate uniforms the same way data is 2021-01-12 12:15:32 -10:00
ba8fb4a6b7 check_data_alignment by default 2021-01-12 11:21:57 -10:00
ca1c2f7797 Return unit normal as 1d vector 2021-01-12 11:13:41 -10:00
0d238417cb Allow locking data to speed up some animations 2021-01-12 11:09:53 -10:00