Commit graph

3621 commits

Author SHA1 Message Date
Grant Sanderson
f91c81dd6a Rename TexMobject -> Tex and TextMobject -> TexText 2021-01-18 08:20:14 -10:00
Grant Sanderson
3bd56bff07 Replace TextMobject with Text in opening example 2021-01-18 08:13:41 -10:00
Grant Sanderson
68a8114d7a Remove unused Rectangle import 2021-01-18 08:13:18 -10:00
Grant Sanderson
9c524fe3a7 Be sure Mobject.set_points and Mobject.set_data returns self 2021-01-18 08:06:33 -10:00
Grant Sanderson
b3c8940a18 Bug fix to Mobject.align_family and Mobject.add_n_more_submobjects 2021-01-18 08:06:12 -10:00
Grant Sanderson
1b1b138860 Merging #1316 2021-01-17 17:24:08 -10:00
Grant Sanderson
19e93454d9
Merge pull request #1316 from TonyCrane/shaders
Improve Text's handling of non-display characters in shaders and Add a feature
2021-01-17 19:22:11 -08:00
Grant Sanderson
86bfa4c39c Improvements to DotCloud 2021-01-17 13:40:52 -10:00
Tony031218
cfa8577454 add PyOpenGL packages in requirements.txt and environment.yml 2021-01-16 11:22:34 +08:00
Tony031218
b7bd40a6f6 make window_position changeable 2021-01-16 10:46:30 +08:00
Tony031218
453ccc2765 remove unnecessary comment 2021-01-16 10:23:11 +08:00
Tony031218
f6b5edede2 reduce annoying errors 2021-01-16 10:21:42 +08:00
Tony031218
3d118a5bb6 change the method of reset submobjects 2021-01-16 10:20:41 +08:00
Tony031218
314c847463 remove unused NOT_SETTING_FONT_MSG 2021-01-16 09:40:05 +08:00
Tony031218
7f27e926f2 replace single quotes with double quotes 2021-01-16 09:37:54 +08:00
Tony031218
5f6b653803 improve Text's handling of non-display characters 2021-01-16 09:35:13 +08:00
鹤翔万里
83a9217063
Merge pull request #3 from 3b1b/shaders
Update
2021-01-16 08:46:48 +08:00
Grant Sanderson
2daf62ecea Add notes to SurfaceExample 2021-01-15 11:11:07 -10:00
Grant Sanderson
c698c6ea44 Fix Point.set_location 2021-01-15 11:10:57 -10:00
Grant Sanderson
4e4a7b9886 Have background rectangle match background color by default 2021-01-15 10:20:50 -10:00
Grant Sanderson
b423a423b5 Make customization more accessible 2021-01-15 10:16:37 -10:00
Grant Sanderson
d37de184d2 Set gamma properly 2021-01-15 09:27:51 -10:00
Grant Sanderson
bec3ba70eb
Merge pull request #1315 from Tony031218/shaders
Fix some bugs of the shaders branch
2021-01-15 11:13:33 -08:00
Grant Sanderson
08e22cf859 Bug fix to apply_points_function 2021-01-15 09:02:07 -10:00
Grant Sanderson
1f3b058aa9 Simplify Point.set_location 2021-01-15 08:55:40 -10:00
Grant Sanderson
d4c89e520f Reorganize methods and how triangulation gets refreshed 2021-01-15 08:55:19 -10:00
Tony031218
7c04edcced improve Text's size 2021-01-15 23:39:24 +08:00
Tony031218
97ecfcda9b remove media_dir.txt in scene/ 2021-01-15 22:57:22 +08:00
Tony031218
c6fcaa93bb remove stream_starter 2021-01-15 22:49:11 +08:00
Tony031218
fa3cad18e0 update requirements.txt and environment.yml 2021-01-15 21:47:19 +08:00
Tony031218
f696ba4100 add an example for Text 2021-01-15 21:11:17 +08:00
Tony031218
1d1706039e remove an unnecessary import 2021-01-15 20:25:17 +08:00
Tony031218
78848b971c fix a wrong usage of logging.log 2021-01-15 20:21:17 +08:00
Tony031218
79b8136330 fix Text in shaders 2021-01-15 20:21:17 +08:00
Grant Sanderson
f314054081 Small cleanup/reorganizing of Mobject methods 2021-01-14 15:07:35 -10:00
Grant Sanderson
7b67f4556b Reorganize Mobject methods and remove ones that are not longer needed 2021-01-14 14:15:58 -10:00
Grant Sanderson
8f6b006cc8 Speeds up Mobject.get_center and Mobject.get_corner 2021-01-14 09:31:41 -10:00
Grant Sanderson
281b38b860 Small fixes to make sure storing the bounding box works 2021-01-14 01:38:40 -10:00
Grant Sanderson
f90e4147b6 Save bounding box information, which speeds up most mobject manipulations 2021-01-14 01:01:43 -10:00
Grant Sanderson
d53dbba346 Always call super for init_data 2021-01-14 01:01:13 -10:00
Grant Sanderson
098b939ec0 Specify default about_edge for Rotate 2021-01-14 01:00:53 -10:00
Grant Sanderson
8b83c5e27d Performance improvement for Write 2021-01-13 11:55:45 -10:00
Grant Sanderson
2c27511556 Remove null_point_align 2021-01-13 11:55:26 -10:00
Grant Sanderson
9f5f682351 Factor out get_num_string 2021-01-13 11:11:25 -10:00
Grant Sanderson
39cdae0983 Match uniforms in Mobject.become 2021-01-13 10:23:42 -10:00
Grant Sanderson
b40a3b5710 Buf fix with Arrow 2021-01-13 09:28:52 -10:00
Grant Sanderson
38b305bb19 Fix issue with pointwise_become_partial 2021-01-13 09:21:22 -10:00
Grant Sanderson
8cc484943e Remove note 2021-01-13 09:21:00 -10:00
Grant Sanderson
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
Grant Sanderson
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