Commit graph

2232 commits

Author SHA1 Message Date
Grant Sanderson
d6996452e5 Make sure cairo transform accounts for frame center 2018-08-13 14:12:45 -07:00
Grant Sanderson
109fe5c4ea ContinualUpdateFromFunc -> ContinualUpdate 2018-08-13 13:40:52 -07:00
Grant Sanderson
77e728aeca
Merge pull request #268 from 3b1b/simple-improvements
Deleted mayavi_test.py
2018-08-13 13:37:20 -07:00
Grant Sanderson
bafe6150dd Deleted mayavi_test.py 2018-08-13 13:36:57 -07:00
Grant Sanderson
aded69a780
Merge pull request #267 from 3b1b/simple-improvements
Typo fix
2018-08-13 13:35:59 -07:00
Grant Sanderson
0e0a0c1673 Whoops, didn't mean to have the cairo_test.py in there... 2018-08-13 13:35:14 -07:00
Grant Sanderson
d2fa2b6ef2 Added get_complex_formatter to Decimal 2018-08-12 19:22:13 -07:00
Grant Sanderson
56d2dce133 Typo fix 2018-08-12 19:14:37 -07:00
Grant Sanderson
fa37c8b1d4
Merge pull request #266 from 3b1b/simple-improvements
Python 3 conversion, plus several other simple improvements
2018-08-12 19:07:49 -07:00
Grant Sanderson
2006554f93 Updated README post python3 conversion 2018-08-12 19:06:21 -07:00
Grant Sanderson
8033bee533 Updated example scenes 2018-08-12 19:06:08 -07:00
Grant Sanderson
9e534fb78f Update Decimal number changing 2018-08-12 19:05:31 -07:00
Grant Sanderson
3ba33d543e Fixed some ThreeDCamera bugs 2018-08-12 19:04:52 -07:00
Grant Sanderson
b04bddf35b Fixed (most) uses of cmp functions for sorting 2018-08-12 12:57:38 -07:00
Grant Sanderson
7f3b1e624d Made Write a subclass of DrawBorderThenFill, as it should be 2018-08-12 12:47:16 -07:00
Grant Sanderson
3f6376af39 Fixed MovingCamera bug where frame was not updated properly 2018-08-12 12:46:57 -07:00
Grant Sanderson
5b5a83b316 Added Mobject.update capabilties, which should be nicer and lighter weight than using ContinualUpdateFromFunc all the time. Also changed the behavior of any Animation having its mobject automatically thrust up to the front of the screen 2018-08-12 12:17:32 -07:00
Grant Sanderson
a72ce98f5e DEFAULT_STROKE_WIDTH in constants 2018-08-12 11:42:59 -07:00
Grant Sanderson
114a37f32c DEFAULT_POINT_THICKNESS -> DEFAULT_STROKE_WIDTH 2018-08-12 00:35:54 -07:00
Grant Sanderson
6ab8f7f7fc Random fixes to old_projects 2018-08-12 00:35:15 -07:00
Grant Sanderson
535522d86b Make VFadeIn work on alpha of stroke 2018-08-11 23:34:58 -07:00
Grant Sanderson
69207369f2 Random fixes to some old_projects 2018-08-11 23:34:34 -07:00
Grant Sanderson
d551fa6b24 Updated background_colored_vmobject displaying 2018-08-11 20:54:27 -07:00
Grant Sanderson
fe92169970 Make sure that altering the tex template files will change tex_hash 2018-08-11 19:38:59 -07:00
Grant Sanderson
abf0f9dc00 Further tweaking on PiCreature.look 2018-08-11 19:20:23 -07:00
Grant Sanderson
22d889f6dc Fixed some camera bugs 2018-08-11 19:20:09 -07:00
Grant Sanderson
e11611d482 Fixed bugs assoiated with setting fill or stroke using None arguments 2018-08-11 18:43:09 -07:00
Grant Sanderson
693c98cea7 Made sure get_boudary_point uses self.get_points_defining_boundary 2018-08-11 18:42:48 -07:00
Grant Sanderson
7e7d9732cf Removed op 2018-08-11 18:42:17 -07:00
Grant Sanderson
0cd4b9b64e Removed itertools.ifilter use 2018-08-11 18:41:55 -07:00
Grant Sanderson
ab0dfe7854 Fixed PiCreature.look 2018-08-11 18:01:50 -07:00
Grant Sanderson
fb08fc0401 Fixed bubble sort bug 2018-08-11 17:16:03 -07:00
Grant Sanderson
df5d45e5ae Updated extract_scene to use importlib 2018-08-11 17:15:38 -07:00
Grant Sanderson
5b9afe6e86 Bug fixes to new VMobject color model 2018-08-11 16:53:37 -07:00
Grant Sanderson
0a423f7736 Updated ThreeDCamera color methods 2018-08-11 16:52:37 -07:00
Grant Sanderson
3d5826229b Prevent ned to create new cairo ImageSurface with each frame 2018-08-11 16:52:06 -07:00
Grant Sanderson
087715e538 Reimplented svg rendering using cairo, and changed vmobject color model to allow for gradeints and strokes with opacities. Many errors associated with python 2 to python 3 conversion are likely still present at this point. 2018-08-10 15:12:49 -07:00
Grant Sanderson
858051a806 After running 2to3 2018-08-09 17:56:05 -07:00
Grant Sanderson
06a65190e7 Enable specification of resolution from command line 2018-08-09 11:26:02 -07:00
Grant Sanderson
c520d0b517 Added Mobject.become method 2018-08-09 11:09:24 -07:00
Grant Sanderson
f9ce36c6f6 Camera background is opacity 0 when -t is passed in, otherwise 1 2018-08-08 11:50:34 -07:00
Grant Sanderson
3dc5b10e8b Add background stroke width to mobjects 2018-08-08 11:15:45 -07:00
Grant Sanderson
7119f0cc6e scale_to_fit_width -> set_width, likewise for height and depth 2018-08-08 10:30:52 -07:00
Grant Sanderson
aa223e99d7
Merge pull request #264 from 3b1b/gradient
Gradient
2018-08-08 10:13:48 -07:00
Grant Sanderson
37ac716d84 Move gradient and mvrc to old_projects 2018-08-08 10:13:16 -07:00
Grant Sanderson
744ab84cfc Simple mvcr animations 2018-08-08 10:12:37 -07:00
Grant Sanderson
4e5720d0ab Simple gradient worked example 2018-08-06 10:45:48 -07:00
Grant Sanderson
1df53ef6e9 Tried to address when half of a \begin{array}...\end{array} type tex string shows up as an argument to TexString 2018-08-06 10:45:27 -07:00
Grant Sanderson
81790cb847 Small fixes to matrix.py 2018-08-06 10:44:41 -07:00
Grant Sanderson
70d7db3b46 Initial gradient animations 2018-08-04 16:33:52 -07:00