Commit graph

3580 commits

Author SHA1 Message Date
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
Grant Sanderson
d65a915e7b Initialize colors properly with new TexMobject structure 2021-01-13 08:18:24 -10:00
Grant Sanderson
5f69899e65 Fix bug where all members of a family pointed to the same rgba array 2021-01-13 08:17:43 -10:00
Grant Sanderson
5e09a80c5b Bug fix, call super().finish() 2021-01-13 00:35:57 -10:00
Grant Sanderson
f61dfe7948 Tiny change 2021-01-13 00:35:39 -10:00
Grant Sanderson
bf3571c103 Have DecimalMobject look to the same cache that TexMobjects do 2021-01-13 00:24:40 -10:00
Grant Sanderson
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
Grant Sanderson
6537258f24 Cache already computed TexMobjects 2021-01-13 00:11:27 -10:00
Grant Sanderson
fda7fff146 Allow caching of shader program code 2021-01-13 00:10:17 -10:00
Grant Sanderson
00333d0a4d Bug fix 2021-01-13 00:09:56 -10:00
Grant Sanderson
ad60b903d0 Allow configuration of VMobjectFromSVGPathstring from SVGMobject 2021-01-13 00:09:36 -10:00
Grant Sanderson
091cd355d4 Clean up trash from ChangingDecimal 2021-01-13 00:09:10 -10:00
Grant Sanderson
dd2a459eaa Refresh shader data before aligning new data 2021-01-13 00:08:40 -10:00
Grant Sanderson
c5aa330077 Small bug fix to Write 2021-01-13 00:07:58 -10:00
Grant Sanderson
bbe79e0026 Tiny comment 2021-01-12 16:08:35 -10:00
Grant Sanderson
7af100489b Include font_size in data 2021-01-12 13:08:24 -10:00
Grant Sanderson
f1c32b64cc Default to apply animations over family rather than family_members_with_points 2021-01-12 13:08:01 -10:00
Grant Sanderson
cc094dd479 Remove ZoomedScene 2021-01-12 12:35:45 -10:00
Grant Sanderson
ab0d5c58d4 Remove ZoomedScene 2021-01-12 12:35:16 -10:00
Grant Sanderson
4abf93e2aa Remove MovingCameraScene 2021-01-12 12:33:59 -10:00
Grant Sanderson
7c8162a6f7 Delete deprecated camera classes 2021-01-12 12:26:08 -10:00
Grant Sanderson
c4f190cfc4 Replace .points with ._points 2021-01-12 12:25:12 -10:00
Grant Sanderson
d60ec48591 Track/interpolate uniforms the same way data is 2021-01-12 12:15:32 -10:00
Grant Sanderson
ba8fb4a6b7 check_data_alignment by default 2021-01-12 11:21:57 -10:00
Grant Sanderson
ca1c2f7797 Return unit normal as 1d vector 2021-01-12 11:13:41 -10:00
Grant Sanderson
0d238417cb Allow locking data to speed up some animations 2021-01-12 11:09:53 -10:00
Grant Sanderson
ddfc3a6567 Replace lingering .points references 2021-01-12 07:27:32 -10:00
Grant Sanderson
6b29691e0e Allow setting of multiple colors/opacities/stroke_widths 2021-01-11 17:52:48 -10:00
Grant Sanderson
6b451dcc22 Allow Mobject.get_family(recurse) for common recursive methods 2021-01-11 17:03:12 -10:00
Grant Sanderson
4d9498322e Push more color functionality to Mobject 2021-01-11 16:37:51 -10:00
Grant Sanderson
d1b888958b Save triangulation along with points 2021-01-11 16:37:01 -10:00
Grant Sanderson
d6a00bc32d Don't call np.resize when length shouldn't change 2021-01-11 16:36:42 -10:00
Grant Sanderson
c408adeefa Rework DotCloud and PMobject for new data structure 2021-01-11 12:40:21 -10:00
Grant Sanderson
a5dd08cca7 Whoops, this shouldn't be here 2021-01-11 12:39:55 -10:00
Grant Sanderson
30dc8176ff Remove append_points from VMobject, as it's now up in Mobject 2021-01-11 12:39:45 -10:00
Grant Sanderson
96fbac85ad Setup Image/Surface for new data formatting 2021-01-11 12:39:14 -10:00
Grant Sanderson
9314dfd933 Reframe Mobject, VMobject and SurfaceMobject with a data map 2021-01-11 10:57:23 -10:00
Grant Sanderson
b3335c65fb Partial progress 2021-01-10 18:51:47 -08:00
Grant Sanderson
fb0de62ef4 Slight change to colormap 2021-01-10 14:12:15 -08:00
Grant Sanderson
bf73938fd1 Move joint type map to constants 2021-01-10 14:10:31 -08:00
Grant Sanderson
8d14b66583 Fix previous commit 2021-01-10 08:38:47 -08:00
Grant Sanderson
92b0953081 Move around where colormap code lives 2021-01-10 08:35:06 -08:00