Devin Neal
317cf0166c
scale SVGMobject about origin
2018-12-04 18:08:52 -08:00
Devin Neal
a4f1e762d6
Merge pull request #349 from sswatson/patch-4
...
SVG single-factor scaling
2018-12-04 17:01:53 -08:00
Devin Neal
0157e05c03
Merge pull request #346 from sswatson/patch-1
...
Update matrix.py
2018-12-02 19:18:28 -08:00
Devin Neal
8015e7a29b
revised fallback to plain pi creature, revise some latex, make once_useful_constructs into a package
2018-12-01 14:28:51 -08:00
sswatson
3e104a1ffb
SVG single-factor scaling
...
Some fonts (like mathpazo) produce svg files which use single scale-factor transform (like `transform=scale(1.3)`). Previously the behavior of this code was to throw an unpacking exception in the try block, which resulted in the font glyphs misrendering.
I would think that the `about_point` should be `ORIGIN` for the [scale_x, scale_y, 1] block as well, but I only put that change in the `elif` clause so that the proposed change would be non-breaking.
2018-11-24 16:37:45 -05:00
sswatson
566b5be488
Update matrix.py
...
the numpy astype method seems to want the argument 'str' rather than 'string'
2018-11-21 08:44:48 -05:00
Grant Sanderson
cd3c1c3feb
Mobject.clear_updaters now returns self
2018-11-18 10:29:41 -06:00
Grant Sanderson
9c047ee640
element_to_mobject_config was not actually used in Matrix
2018-11-18 10:29:18 -06:00
Grant Sanderson
c95fb5fe46
Renamed ANIMATION_DIR to VIDEO_DIR, also replacing 'animations' with 'video' in the path
2018-10-30 12:28:22 -07:00
Grant Sanderson
426af6f7fc
Tiny bug fix
2018-10-09 12:21:44 -07:00
Grant Sanderson
5d6454fcc2
Fixed get_points_defining_boundary for VMobjects
2018-10-05 17:19:29 -07:00
Grant Sanderson
4a226e1d22
Fixed get_boundary_point and get_points_defining_boundary
2018-10-05 17:18:49 -07:00
Grant Sanderson
73af2b4971
Moved updating_mobject_from_func
2018-10-05 17:17:55 -07:00
Grant Sanderson
b920bf8959
Merge pull request #315 from icreiuheciijc/ctex-pr
...
Add support for Chinese ctex
2018-10-04 18:26:55 -07:00
Grant Sanderson
45d3806b86
Rename set_color_columns
2018-09-27 17:37:25 -07:00
Grant Sanderson
ce05b01598
Use VMobject.set_shade_in_3d in ThreeDAxes
2018-09-27 17:36:19 -07:00
Grant Sanderson
656a1d8b8e
Added get_z_index_reference_point
2018-09-27 17:34:45 -07:00
icreiuheciijc
f33ed570f5
Add support for ctex
2018-09-26 21:09:04 +08:00
Grant Sanderson
81a906f683
Fixed ImageMobject fade bug
2018-09-20 10:39:37 -07:00
Grant Sanderson
1ca7e8ecda
Fixed TextMobject bug
2018-09-20 10:39:19 -07:00
Ishan Dutta
78b14c8be8
updated some breaking scenes to python3
2018-09-19 08:53:28 +05:30
Grant Sanderson
5b9ae8ddb3
Fixed flashing 3d dot problem
2018-09-04 16:14:39 -07:00
Grant Sanderson
405d566aa9
Bug fix to svg reading
2018-09-04 16:14:11 -07:00
Grant Sanderson
289d822a92
Tiny bug fix
2018-08-30 14:24:40 -07:00
Grant Sanderson
9a85754014
Better Mobject.become
2018-08-30 14:24:25 -07:00
Grant Sanderson
cab3b1b3c6
Reverse arrow rectangle orientation
2018-08-30 14:24:05 -07:00
Grant Sanderson
7736e321a0
+ for 0 in Decimal number
2018-08-29 00:09:34 -07:00
Grant Sanderson
6a225211a5
VMobject.set_shade_in_3d
2018-08-28 09:44:46 -07:00
Grant Sanderson
df9137b1ef
ParametricSurface parts should remember their coordinates
2018-08-28 09:44:32 -07:00
Grant Sanderson
dd2ee72900
Safer default for Mobject.apply_matrix
2018-08-28 09:44:10 -07:00
Grant Sanderson
f163ba3bc6
Slighty more efficient get_location for VectorizedPoint
2018-08-27 16:33:36 -07:00
Grant Sanderson
2678669726
Fix to parametric surface
2018-08-27 16:33:06 -07:00
Grant Sanderson
c4b8f910c8
Added edge_to_fix to DecimalNumber
2018-08-27 16:32:32 -07:00
Grant Sanderson
b42e772563
Mobject should update when an updater is added (by default at least)
2018-08-27 16:32:12 -07:00
Grant Sanderson
8ea4f8fda8
Bug fixes to ThreeDAxes
2018-08-27 16:31:05 -07:00
Grant Sanderson
731748df4c
Bug fix
2018-08-26 13:17:34 -07:00
Grant Sanderson
0b003fff44
More robust Mobject.become
2018-08-26 13:17:23 -07:00
Grant Sanderson
2e64edcffe
Temporary bug fix on DecimalNumber...not fully figured out
2018-08-25 18:32:41 -07:00
Grant Sanderson
94b1c9d3af
Use Integer class for NumberLine
2018-08-25 18:32:09 -07:00
Grant Sanderson
979cd3a38f
Add copy_submobjects option to Mobject.become
2018-08-25 18:31:41 -07:00
Grant Sanderson
c3919d25ab
Fixed -0 issue with DecimalNumber
2018-08-23 14:45:57 -07:00
Grant Sanderson
30f061ff01
Added missing imports
2018-08-23 14:45:35 -07:00
Grant Sanderson
6a781d0737
Bug fix to Arrow
2018-08-23 14:45:15 -07:00
Grant Sanderson
499080fb97
Bug fix to Axes
2018-08-23 14:45:00 -07:00
Grant Sanderson
26b977febe
Fix cube
2018-08-22 21:23:24 -07:00
Grant Sanderson
db6d25280b
Better behavior for when lines have shade_in_3d turned on
2018-08-22 21:23:10 -07:00
Grant Sanderson
7912f6f2d3
Implmented ThreeDScene.add_fixed_orientation_mobjects and ThreeDScene.add_fixed_in_frame_mobjects
2018-08-22 14:48:42 -07:00
Grant Sanderson
0149f4a496
Better ThreeDVMobject implementation
2018-08-21 19:58:48 -07:00
Grant Sanderson
8103b723a8
Fixed bug with VMobject.close_new_points
2018-08-21 19:25:34 -07:00
Grant Sanderson
98a7f254ee
Remaining submobject_family -> get_family
2018-08-21 19:16:51 -07:00