db421e3981
Video work ( #2318 )
...
* Only use -no-pdf for xelatex rendering
* Instead of tracking du and dv points on surface, track points off the surface in the normal direction
This means that surface shading will not necessarily work well for arbitrary transformations of the surface. But the existing solution was flimsy anyway, and caused annoying issues with singularity points.
* Have density of anchor points on arcs depend on arc length
* Allow for specifying true normals and orientation of Sphere
* Change miter threshold on stroke shader
* Add get_start_and_end to DashedLine
* Add min_total_width option to DecimalNumber
* Have BackgroundRectangle.set_style absorb (and ignore) added configuration
Note, this feels suboptimal
* Add LineBrace
* Update font_size adjustment in Tex
2025-02-26 07:52:59 -08:00
85638d88dc
Update parameter range for sphere
2024-11-25 12:39:41 -07:00
b84376d6fd
Add Cone
2024-11-08 14:28:17 -06:00
1ff758dea8
Remove (no longer necessary) specifications of non-flat stroke for 3d things
2024-08-07 15:06:10 -05:00
031adda503
Small fixes to three_dimensions.py
2023-01-31 14:19:24 -08:00
a58327657c
Provide an epsilon of room to Sphere at poles
2023-01-30 20:50:42 -08:00
0de914fd01
No need for du_points, and dv_points in SurfaceMesh
2023-01-30 20:37:15 -08:00
44e5f15ae9
Default to non-flat stroke for meshes
2023-01-18 10:58:37 -08:00
c3cd64f68c
Package reflectiveness, gloss and shadow into a single uniform "shading"
2023-01-16 19:33:57 -08:00
bf84b1933b
Remove unnecessary flat stroke specification
2023-01-11 20:31:30 -08:00
333db992ed
Minor cleanup to Prism
2023-01-11 19:52:45 -08:00
6ec3d9f4a5
Add 'no_joint' to joint types
2023-01-10 11:06:41 -08:00
dd2fb6ae74
Delete refresh_unit_normal
2022-12-23 10:23:57 -07:00
dec11a4b17
Rename np_vector type to Vect3 or Vect4 to make context clearer
2022-12-16 20:35:26 -08:00
43fd5e1aea
Move custom type to manimlib.typing
2022-12-16 20:19:18 -08:00
ae52f19a4a
Remove stray CONFIG vestiges
2022-12-16 10:02:03 -08:00
c2cf261c81
Kill CONFIG in three_dimensions.py
2022-12-16 09:56:38 -08:00
37075590b5
Sort imports
2022-04-22 16:42:45 +08:00
9ef9961d0e
Sort imports
2022-04-12 19:19:59 +08:00
0f8d7ed597
Add VPrism, and refactor VCube
2022-03-29 20:34:14 -07:00
a9349057ad
Merge branch 'master' of github.com:3b1b/manim into video-work
2022-03-22 11:30:25 -07:00
f249da95fb
Add a basic Prismify to turn a flat VMobject into something with depth
2022-03-17 12:00:10 -07:00
4c16bfc2c0
chore: add type hints to manimlib.mobject
2022-02-15 14:37:15 +08:00
7aa05572ab
Remove unnecessary import
2021-12-21 10:58:41 -08:00
83841ae415
Add Dodecahedron
2021-12-13 16:03:46 -08:00
3a1e5e1bcf
Remove old implementation for SurfaceMesh
2021-12-07 10:07:49 -08:00
eea3c6b294
Better align SurfaceMesh to the corresponding surface polygons
2021-11-18 17:52:17 -08:00
c73d507c76
Fix SurfaceMesh to be evenly spaced
2021-11-08 21:47:26 -08:00
bd356daa99
Add VCube
2021-08-19 08:37:01 -07:00
2f5acc6a87
Small refactor
2021-07-28 07:32:16 -07:00
41a02285bd
Small cleanup
2021-02-07 18:14:35 -08:00
5eafed2c31
Make ParametricSurface a subclass of Surface, and reframe other 3d mobjects to subclass Surface instead of ParametricSurface
2021-02-04 12:36:35 -08:00
9a1e103a7f
Introduce flat_stroke uniform
2021-01-08 22:26:47 -08:00
4fdd655564
changes default Line3D resolution
2020-06-18 16:25:48 -07:00
a0006426cc
Fix Line3D
2020-06-17 17:12:23 -07:00
739667f8a9
Turn on depth test for SurfaceMesh
2020-06-15 12:00:37 -07:00
2317a7d982
Torus
2020-06-09 21:24:42 -07:00
4a3e4df2bd
Change cube face order
2020-06-07 12:24:14 -07:00
b32c2937ae
Added SurfaceMesh
2020-06-06 13:23:30 -07:00
d89bf9b635
Added SGroups
2020-06-05 13:37:06 -07:00
83b2932e02
A few more surface types
2020-06-05 13:24:26 -07:00
cacfe67fe1
ParametricSurface replaces the role of SurfaceMobject, and instead of tracking normals infinitesimal nudges are tracked
2020-06-05 11:12:52 -07:00
2b931dc7a2
Improvements to surfaces, with textured surfaces available
2020-06-04 17:17:38 -07:00
4c33b99d39
Very rudimentary 3dSurface type
2020-06-04 15:41:20 -07:00
9835813679
Rename generate_points to init_points
2020-02-11 19:55:00 -08:00
050ed718e5
Small todo stubs as a reminder to relpace 3d VMobject material
2020-02-07 09:32:38 -08:00
6db6e858c4
Change tuplify to listify
2020-02-05 14:47:14 -08:00
40e44e6dd7
Parametric surface should remember what function created it
2019-06-20 13:26:22 -07:00
6e99da9def
Remove make_jagged
2019-02-15 15:15:32 -08:00
e0ef531f49
Remove make_jagged from Cube
2019-02-15 11:48:58 -08:00