Commit graph

166 commits

Author SHA1 Message Date
Ben Hambrecht
69d899a6fe trying (and failing) to get the pi creature to flash through the class 2018-05-08 13:23:24 +02:00
Grant Sanderson
3f4b17a785 Moved where stroke_width attr is defined 2018-05-07 13:37:29 -07:00
Grant Sanderson
4403399050 Made add_background_rectangle are more general method for all mobjects 2018-05-07 13:32:47 -07:00
Ben Hambrecht
85808eb905 bug in debugging method 2018-05-02 11:09:53 +02:00
Grant Sanderson
cf41cb8917 Tiny formating change 2018-04-16 14:17:34 -07:00
Grant Sanderson
1eaa035a10
Merge pull request #204 from 3b1b/eop
various improvements
2018-04-11 12:11:53 -07:00
Ben Hambrecht
43faec638e fix for copy bug (again) 2018-04-11 17:01:01 +02:00
Grant Sanderson
6e1dd54aeb Added assertion that apply_points_function_about_point does not receive None for both the about_point and about_edge 2018-04-10 19:47:04 -07:00
Ben Hambrecht
9e2ce6ea62 Merge branch 'master' into eop 2018-04-10 09:26:40 +02:00
Grant Sanderson
39ba60c452 Small stylistic fixes to mobject.py 2018-04-09 13:47:46 -07:00
Ben Hambrecht
0231820ab4 Merge branch 'master' into eop 2018-04-09 14:21:37 +02:00
Grant Sanderson
d4392de600 Changed all files to (mostly) conform to PEP8 2018-04-06 13:58:59 -07:00
Ben Hambrecht
18bac2e186 fixed typo 2018-04-05 22:53:52 +02:00
Grant Sanderson
0978984541 Reorganized animations folder. Warning: While I tried to be systematic, there is a decent chance this will cause import errors somewhere. 2018-03-31 15:11:35 -07:00
Grant Sanderson
9560b0b077 Refactored helpers.py into a folder of various util files, take 2 2018-03-30 18:42:32 -07:00
Grant Sanderson
8fae39fe82 Refactored helpers.py into a folder of various util files 2018-03-30 18:19:23 -07:00
Grant Sanderson
91cba911f5 Rename radial_gradient_highlight to set_colors_by_radial_gradient 2018-03-30 12:03:52 -07:00
Grant Sanderson
380a87acca Renamed gradient_highlight to set_color_by_gradient 2018-03-30 11:59:39 -07:00
Grant Sanderson
618590bee1 Renamed 'highlight' to 'set_color' 2018-03-30 11:51:31 -07:00
Grant Sanderson
e168bfe5ba Rename SPACE_X_RADIUS to FRAME_X_RADIUS, and added constant FRAME_WIDTH (likewise for all y-coordinate information) 2018-03-30 11:25:37 -07:00
Grant Sanderson
55786e443d Renamed SPACE_WIDTH and SPACE_HEIGHT to SPACE_X_RADIUS and SPACE_Y_RADIUS to be less confusing 2018-03-30 11:03:14 -07:00
Grant Sanderson
f7a079432f
Merge pull request #150 from 3b1b/WindingNumber
Winding number
2018-03-06 13:46:15 -08:00
Sridhar Ramesh
0975f323db Fixed fade to behave over Groups of objects exactly as over the subobjects individually 2018-03-01 15:34:46 -08:00
Grant Sanderson
ad13082b73 Added Mobject.stretch_to_fit_depth 2018-02-27 13:55:38 -08:00
mirefek
6b39ba0502 Feature: argument coor_mask for move_to / next_to:
setting coor_mask = X_AXIS or Y_AXIS makes the alignment in just one coordinate
2018-02-12 22:41:34 +01:00
Ben Hambrecht
87811976d4 Merge branch 'master' into lighthouse2
# Conflicts:
#	.gitignore -> resolved
2018-02-08 12:07:33 +01:00
Grant Sanderson
dca03648ad Tiny changes to mobject 2018-02-07 16:21:11 -08:00
Ben Hambrecht
87b7635988 bug fix session with Grant 2018-02-07 07:35:18 +01:00
Sridhar Ramesh
322a172c28 Merge branch 'master' of https://github.com/3b1b/manim into WindingNumber 2018-01-29 13:34:20 -08:00
Sridhar Ramesh
55a723a284 Fixed bugs in Succession and AnimationGroup, and also created purely virtual Container class from which both Scene and MObject derive (conceptually unifying their remove/add methods) 2018-01-29 13:34:06 -08:00
Grant Sanderson
5d811d2e81 Added kwargs to match_width, etc. methods 2018-01-25 23:50:52 -08:00
Grant Sanderson
c7fa8c59ad Made slicing into mobjects return a Group or VGroup instead of a list 2018-01-24 11:25:55 -08:00
Grant Sanderson
64b5399bc5 Extended Mobject.align_to to handle aligning centers of mobjects 2018-01-23 13:41:14 -08:00
Ben Hambrecht
b683b5f628 rotate_in_place changes 2018-01-22 11:58:04 -08:00
Grant Sanderson
9916e072aa Added matching functions 2018-01-20 19:31:09 -08:00
Grant Sanderson
c5b0e26090 Addressed places which depended on rotate being about the origin 2018-01-20 13:14:17 -08:00
Grant Sanderson
1ffbc77eda Bug fix to ApplyMethod treatment of method kwargs 2018-01-20 11:45:47 -08:00
Grant Sanderson
7c9f5ca711 Updated the scale_to_fit Mobject methods based on new about_point and about_edge convention 2018-01-20 11:33:09 -08:00
Grant Sanderson
fcd1e7d6a5 A few small fixes to new about_point behavior 2018-01-20 11:18:43 -08:00
Grant Sanderson
850b6f9e88 Initial edits to make main movement methods take in about_point and about_edge kwargs 2018-01-20 10:56:52 -08:00
Grant Sanderson
1332ec9ed1 Minor cleanups 2018-01-17 22:18:05 -08:00
Ben Hambrecht
a236e33e50 working on basel 2018-01-17 15:18:02 -08:00
Grant Sanderson
0bf1a9e303 Changed default Mobject.scale behavior to scale about center of mobject. Also added easier functionality for scaling about the mobject's edge. This will very likely break certain functionality in any old projects that expect scale to scale about ORIGIN by default 2018-01-17 09:01:46 -08:00
Grant Sanderson
a08e32be94 Tiny changes to mobject.py 2018-01-16 22:38:00 -08:00
Grant Sanderson
72dac6b2c9 Added submobject_to_align and index_of_submobject_to_align to next_to, removing align_using_submobjects boolean 2018-01-16 18:40:26 -08:00
Grant Sanderson
5d9eb8d5a0 Fixed get_merged_array bug 2018-01-15 15:06:01 -08:00
Grant Sanderson
ffcd9b5767 Changed the defaults for where animations are written, and where images for ImageMobject and SVGMobject are sought after 2018-01-12 13:38:25 -08:00
Sridhar Ramesh
0ce1a528c6 Added Surround method to MObject, as well as special-case implementation of it to Circle 2018-01-10 17:57:22 -08:00
Grant Sanderson
b9aec1e907 Removed condition from Mobject.highlight 2017-10-26 21:30:59 -07:00
Grant Sanderson
d138ffd353 Up to InterpretFirstWeightMatrixRows in NN part 2 2017-10-12 17:38:25 -07:00