55 Commits

Author SHA1 Message Date
858051a806 After running 2to3 2018-08-09 17:56:05 -07:00
f9ce36c6f6 Camera background is opacity 0 when -t is passed in, otherwise 1 2018-08-08 11:50:34 -07:00
3dc5b10e8b Add background stroke width to mobjects 2018-08-08 11:15:45 -07:00
151a270913 Modernize Python 2 for Python 3 2018-07-11 11:38:59 -07:00
d72483e909 Fixed Camera.is_in_frame 2018-06-18 13:03:56 -07:00
60caf2312c Quick fix to a bug where ImageMobjects of size zero weren't displayed 2018-06-08 17:15:30 -07:00
978e7c1799 Pillow was giving some troubles with creating an image from an array while setting a mode 2018-06-07 11:49:46 -07:00
49fe36b048 Added is_in_frame method to camera 2018-05-30 12:01:47 -07:00
13d7228918 Revert "Merge branch 'master' of github.com:3b1b/manim into alt-calc"
This reverts commit 17a1ea6db500eddfdec75cc727b70737d892e961, reversing
changes made to c8c6e6d9ba77d42c8d50d8187ca2b0427da0079c.
2018-05-21 12:11:46 -07:00
b2b66947db reverted to earlier version 2018-05-16 21:17:14 +02:00
ecd48d885e Start tracking pixel_height and pixel_width instead of pixel_shape, since all uses of it involved unpacking anyway, and the ordering makes it harder to read and edit. 2018-05-14 13:52:44 -07:00
f04b2e270c Refactoring how Camera frame height and width are handled 2018-05-11 17:41:37 -07:00
80176f0940 Replaced background_alpha with background_opacity 2018-05-10 19:55:06 -07:00
d36a68f756 Cleanup of ZoomedScene updates 2018-05-10 19:46:10 -07:00
8703e2336c Fixing various in ZoomedScene 2018-05-10 19:20:18 -07:00
7ee85faadd Reimplemented ZoomedScene, using a new MultiCamera 2018-05-10 15:55:31 -07:00
1f394ca2eb Reimplemented Camera.display_image_mobject 2018-05-09 18:55:12 -07:00
d4392de600 Changed all files to (mostly) conform to PEP8 2018-04-06 13:58:59 -07:00
fc3dc64805 Refactor many definitions out of topics and into folders within mobject 2018-03-31 18:05:02 -07:00
087f66aca5 Reorganized camera folder 2018-03-31 15:20:30 -07:00
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
8fae39fe82 Refactored helpers.py into a folder of various util files 2018-03-30 18:19:23 -07:00
3ec4d89e10 Renamed DEFAULT_HEIGHT to DEFAULT_PIXEL_HEIGHT 2018-03-30 11:36:06 -07:00
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
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
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
db50339424 Incremental 2018-03-09 10:32:19 -08:00
0c7c324271 Merge pull request #140 from 3b1b/WindingNumber
Winding number
2018-02-26 16:23:50 -08:00
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
4c1934fe4f Fixed typo 2018-02-24 19:09:08 -08:00
e4569a6f63 Merge branch 'master' of https://github.com/3b1b/manim into WindingNumber 2018-02-20 21:54:50 -08:00
c84b26ccce Incremental 2018-02-20 21:54:40 -08:00
f76a34c273 Fixed deepcopy segfault issue with Camera 2018-02-20 16:44:36 -08:00
c2b9417c6a Fixed division by zero bug in alpha compositing 2018-02-20 12:33:58 -08:00
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
d5aeeb0e8c Changed return type of batch_by_property 2018-02-16 11:14:19 -08:00
4236215da7 Refactor of capture_mobjects to be cleaner about batching 2018-02-16 10:57:04 -08:00
0d05c58342 Cleanup from last changes 2018-02-11 19:05:24 -08:00
2ff4a7ba07 Refactored for meaningful speedup in background colored vmobjects 2018-02-11 19:00:09 -08:00
6e296ae6df Refactor of background coloring vmobjects, should be faster this way. 2018-02-11 18:21:31 -08:00
5e25ecd33c Tiny changes 2018-02-10 22:19:00 -08:00
983a3e0357 Direct computation of color hex to speed things up 2018-02-10 21:38:12 -08:00
d35ba7b196 Sped up get_pathstring of camera 2018-02-10 21:19:26 -08:00
5af31c1b8b Minor refactoring to the camera class, with an additional change to z-buffering default behavior 2018-02-10 18:37:34 -08:00
2aa5d9ae43 Merge branch 'master' of https://github.com/3b1b/manim into WindingNumber 2018-02-06 12:44:46 -08:00
6158ba6dcc Minor changes everywhere, incremental progress on WindingNumber 2018-02-06 12:44:38 -08:00
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
5ea41c00ee Minor comments reworded/added 2018-02-02 10:13:22 -08:00
4038fdacbb Added BackgroundColoredVMobject 2018-02-01 21:56:09 -08:00
c9e0d8b839 Bug fixes on set_background_from_func (now computes screen dimensions correctly) 2018-02-01 16:32:19 -08:00