166 Commits

Author SHA1 Message Date
09579fcd3e Not a great long-term fix, but flipping should always refresh the triangulation 2021-03-24 13:58:52 -07:00
0e326c7ac5 Return stroke_width as 1d array 2021-03-18 17:34:36 -07:00
d06b3769b8 Added Mobject.set_color_by_rgba_func 2021-02-25 08:46:56 -08:00
dba0550da5 Merge branch 'TonyCrane-package-improve' 2021-02-11 10:54:30 -08:00
787b3be357 Make sure VMobject.set_fill returns self 2021-02-10 16:57:41 -08:00
ddda43e03e update 2021-02-09 09:21:29 +08:00
00e9c426ff Fix Surface.pointwise_become_partial bug 2021-02-07 18:14:23 -08:00
e8f288f753 Fix for ShowCreation on SGroups, like Cube 2021-02-07 17:52:56 -08:00
1084dfb681 Partial fix for Surface.pointwise_become_partial, and hence for ShowCreation() on surfaces 2021-02-07 17:46:04 -08:00
cbe016391b delete old entry point file and add __init__ for folders 2021-02-07 17:48:51 +08:00
514301e0af Allow make_smooth and other kwargs for VMobject.apply_function 2021-02-05 19:58:02 -08:00
71f328c7ef Factor out approximate smoothing to VMobject.make_approximately_smooth function 2021-02-05 19:48:43 -08:00
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
f05f94fbf5 spreading the change onto 2 more decorators 2021-02-05 11:52:21 +01:00
5eafed2c31 Make ParametricSurface a subclass of Surface, and reframe other 3d mobjects to subclass Surface instead of ParametricSurface 2021-02-04 12:36:35 -08:00
f13c41bcbb DotCloud improvements 2021-02-03 15:58:27 -08:00
7dffa24acd Only reorient points for triangulation if the normal vector is not OUT 2021-02-03 14:18:58 -08:00
59af903f14 Reorganize the interaction between CameraFrame and shader perspective transforms, along with some keyboard interactions for panning 2021-01-18 16:39:29 -08:00
9c524fe3a7 Be sure Mobject.set_points and Mobject.set_data returns self 2021-01-18 08:06:33 -10:00
86bfa4c39c Improvements to DotCloud 2021-01-17 13:40:52 -10:00
d4c89e520f Reorganize methods and how triangulation gets refreshed 2021-01-15 08:55:19 -10:00
7b67f4556b Reorganize Mobject methods and remove ones that are not longer needed 2021-01-14 14:15:58 -10:00
d53dbba346 Always call super for init_data 2021-01-14 01:01:13 -10:00
38b305bb19 Fix issue with pointwise_become_partial 2021-01-13 09:21:22 -10:00
00333d0a4d Bug fix 2021-01-13 00:09:56 -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
ddfc3a6567 Replace lingering .points references 2021-01-12 07:27:32 -10:00
6b29691e0e Allow setting of multiple colors/opacities/stroke_widths 2021-01-11 17:52:48 -10:00
6b451dcc22 Allow Mobject.get_family(recurse) for common recursive methods 2021-01-11 17:03:12 -10:00
4d9498322e Push more color functionality to Mobject 2021-01-11 16:37:51 -10:00
c408adeefa Rework DotCloud and PMobject for new data structure 2021-01-11 12:40:21 -10:00
30dc8176ff Remove append_points from VMobject, as it's now up in Mobject 2021-01-11 12:39:45 -10:00
96fbac85ad Setup Image/Surface for new data formatting 2021-01-11 12:39:14 -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
bf73938fd1 Move joint type map to constants 2021-01-10 14:10:31 -08:00
9a1e103a7f Introduce flat_stroke uniform 2021-01-08 22:26:47 -08:00
065df65cf1 Reorganize how shader files sit in the shaders folder 2021-01-05 23:14:16 -08:00
dde085094f Refresh triangulation after general functions 2021-01-05 22:00:52 -08:00
349a9c9cea Add VMobject.get_opacity 2021-01-05 18:00:55 -08:00
131794e53c Change DotCloud initialization 2021-01-04 14:55:42 -08:00
a4ea4791e7 Added DotCloud type 2021-01-04 13:26:58 -08:00
31e6aa2ae0 Use super() 2021-01-04 13:25:42 -08:00
156ea11537 Fix the but for transforming between VMobjects with different triangulations. Turns out this is all that's needed 2021-01-03 17:17:20 -08:00
23f7bce427 Bug fix to add_smooth_curve_to 2021-01-01 20:12:34 -08:00
b64875fd55 Typo fix for primitive 2020-12-04 08:12:53 -08:00