87 Commits

Author SHA1 Message Date
5782c13813 Back to old way of z-indexing 2018-08-30 14:23:48 -07:00
8a1f121207 Don't even try to display points with nan or infinity 2018-08-30 14:23:26 -07:00
0d95fe7234 Change where z-sorting happens in 3d camera 2018-08-29 00:09:09 -07:00
bfa37e251f Got rid of ValueTracker special cases in camera 2018-08-29 00:08:46 -07:00
62f0a20843 Dumb perspective hack 2018-08-28 09:43:45 -07:00
9960ae177c Added option for projection type to ThreeDCamera 2018-08-27 16:31:36 -07:00
35a59474fe Camera shouldn't try to display ValueTrackers 2018-08-27 16:30:41 -07:00
90b21a4a8a Better ThreeDCamera.add_fixed_orientation_mobjects 2018-08-23 14:44:22 -07:00
98801413e9 Fixed camera bugs 2018-08-22 21:22:50 -07:00
7912f6f2d3 Implmented ThreeDScene.add_fixed_orientation_mobjects and ThreeDScene.add_fixed_in_frame_mobjects 2018-08-22 14:48:42 -07:00
0149f4a496 Better ThreeDVMobject implementation 2018-08-21 19:58:48 -07:00
98a7f254ee Remaining submobject_family -> get_family 2018-08-21 19:16:51 -07:00
51e6b66c95 submobject_family -> get_family 2018-08-21 19:15:16 -07:00
ff134b7903 Remove z_coordinate display ordering 2018-08-20 15:48:50 -07:00
6f57a8bc5e Performance improvements to 3d constructs 2018-08-16 22:25:51 -07:00
daffec0034 Fixed projection 2018-08-15 21:55:42 -07:00
365093c0b5 np.linalg.norm -> get_norm 2018-08-15 17:30:24 -07:00
f926611d34 Added preliminary 3d animation abilities with (as of now poorly shaded) parametric curves 2018-08-15 16:23:29 -07:00
d6996452e5 Make sure cairo transform accounts for frame center 2018-08-13 14:12:45 -07:00
3ba33d543e Fixed some ThreeDCamera bugs 2018-08-12 19:04:52 -07:00
3f6376af39 Fixed MovingCamera bug where frame was not updated properly 2018-08-12 12:46:57 -07:00
114a37f32c DEFAULT_POINT_THICKNESS -> DEFAULT_STROKE_WIDTH 2018-08-12 00:35:54 -07:00
d551fa6b24 Updated background_colored_vmobject displaying 2018-08-11 20:54:27 -07:00
22d889f6dc Fixed some camera bugs 2018-08-11 19:20:09 -07:00
0a423f7736 Updated ThreeDCamera color methods 2018-08-11 16:52:37 -07:00
3d5826229b Prevent ned to create new cairo ImageSurface with each frame 2018-08-11 16:52:06 -07:00
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
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
2eebaccde2 Small setup for possible shift to general camera implementation 2018-06-11 10:41:04 -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
f0b8ae7647 Refactoring and bug fixes to moving_camera, multi_camera, zoomed_scene mix 2018-05-11 13:15:34 -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
cffbcaa793 Added default frame to MovingCamera 2018-04-09 23:32:57 -07:00
d4392de600 Changed all files to (mostly) conform to PEP8 2018-04-06 13:58:59 -07:00
01ef5fc2c7 Several import fixes 2018-04-01 10:51:54 -07:00
ca7930740b Factored probability and three_d constructs out of topics/ 2018-04-01 10:45:41 -07:00