Commit graph

35 commits

Author SHA1 Message Date
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
8fae39fe82 Refactored helpers.py into a folder of various util files 2018-03-30 18:19:23 -07:00
Grant Sanderson
3ec4d89e10 Renamed DEFAULT_HEIGHT to DEFAULT_PIXEL_HEIGHT 2018-03-30 11:36:06 -07:00
Grant Sanderson
213c615870 Changed camera implementation by renaming space_shape to frame_shape, where its height and width actually correspond to the camera's height and width 2018-03-30 11:34:22 -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
Sridhar Ramesh
db50339424 Incremental 2018-03-09 10:32:19 -08:00
Grant Sanderson
0c7c324271
Merge pull request #140 from 3b1b/WindingNumber
Winding number
2018-02-26 16:23:50 -08:00
Sridhar Ramesh
1b9cde00d9 Minor fix to camera.py, making SplitScreenCameras work again after some change to background handling made them crash 2018-02-26 11:47:37 -08:00
Grant Sanderson
4c1934fe4f Fixed typo 2018-02-24 19:09:08 -08:00
Sridhar Ramesh
e4569a6f63 Merge branch 'master' of https://github.com/3b1b/manim into WindingNumber 2018-02-20 21:54:50 -08:00
Sridhar Ramesh
c84b26ccce Incremental 2018-02-20 21:54:40 -08:00
Grant Sanderson
f76a34c273 Fixed deepcopy segfault issue with Camera 2018-02-20 16:44:36 -08:00
Sridhar Ramesh
c2b9417c6a Fixed division by zero bug in alpha compositing 2018-02-20 12:33:58 -08:00
Grant Sanderson
13a45224a0 Fixed display of vmobjects with a background color array, and sped up overlay_rgba by a bit 2018-02-16 12:15:16 -08:00
Grant Sanderson
d5aeeb0e8c Changed return type of batch_by_property 2018-02-16 11:14:19 -08:00
Grant Sanderson
4236215da7 Refactor of capture_mobjects to be cleaner about batching 2018-02-16 10:57:04 -08:00
Grant Sanderson
0d05c58342 Cleanup from last changes 2018-02-11 19:05:24 -08:00
Grant Sanderson
2ff4a7ba07 Refactored for meaningful speedup in background colored vmobjects 2018-02-11 19:00:09 -08:00
Grant Sanderson
6e296ae6df Refactor of background coloring vmobjects, should be faster this way. 2018-02-11 18:21:31 -08:00
Grant Sanderson
5e25ecd33c Tiny changes 2018-02-10 22:19:00 -08:00
Grant Sanderson
983a3e0357 Direct computation of color hex to speed things up 2018-02-10 21:38:12 -08:00
Grant Sanderson
d35ba7b196 Sped up get_pathstring of camera 2018-02-10 21:19:26 -08:00
Grant Sanderson
5af31c1b8b Minor refactoring to the camera class, with an additional change to z-buffering default behavior 2018-02-10 18:37:34 -08:00
Sridhar Ramesh
2aa5d9ae43 Merge branch 'master' of https://github.com/3b1b/manim into WindingNumber 2018-02-06 12:44:46 -08:00
Sridhar Ramesh
6158ba6dcc Minor changes everywhere, incremental progress on WindingNumber 2018-02-06 12:44:38 -08:00
Grant Sanderson
d81262e58a Make z_buff_func only round to the hundredths place, so small variations in z-coordiante not intended for z indexing don't mess things up 2018-02-06 12:22:03 -08:00
Sridhar Ramesh
5ea41c00ee Minor comments reworded/added 2018-02-02 10:13:22 -08:00
Grant Sanderson
4038fdacbb Added BackgroundColoredVMobject 2018-02-01 21:56:09 -08:00
Sridhar Ramesh
c9e0d8b839 Bug fixes on set_background_from_func (now computes screen dimensions correctly) 2018-02-01 16:32:19 -08:00
Sridhar Ramesh
8a5ce2ced8 Improvements to camera.set_background_from_func, and incremental progress on WindingNumber 2018-01-31 17:17:58 -08:00
Sridhar Ramesh
c28b81a230 Fixed bug in set_background_by_color_function 2018-01-30 18:06:05 -08:00
Grant Sanderson
65fbe17d4f Added set_background_by_color_function to camera 2018-01-30 13:51:22 -08:00
Sridhar Ramesh
9df8b0781e Some convenient utility functions added to helpers.py, which I had reason to make use of previously 2018-01-29 13:44:16 -08:00
Sridhar Ramesh
ad14222d1c Reorganized file structure of Camera module 2018-01-26 13:54:20 -08:00
Renamed from camera.py (Browse further)