Grant Sanderson
|
681fa513a7
|
First pass at changing VMobject use simpler path strings
Remove the redundancy of treating each quadratic bezier triplet separately, where most ends overlap the next beginning
|
2023-01-11 14:17:56 -08:00 |
|
Grant Sanderson
|
b967c04c2c
|
Actually ensure get_joint_angle works for start_new_path case
|
2023-01-10 18:33:49 -08:00 |
|
Grant Sanderson
|
0205a37209
|
More tiny tweaks for joint_angles
|
2023-01-10 17:02:12 -08:00 |
|
Grant Sanderson
|
eccaa8681e
|
Ensure get_joint_angles works in start-new-path case
|
2023-01-10 16:48:08 -08:00 |
|
Grant Sanderson
|
9d9e000c63
|
Remove stray line
|
2023-01-10 16:41:12 -08:00 |
|
Grant Sanderson
|
886fd193f0
|
Use three shader wrappers to account for backstroke
|
2023-01-10 16:41:03 -08:00 |
|
Grant Sanderson
|
bfaf81c6b3
|
Refresh shader data at the start of an animation
|
2023-01-10 16:40:31 -08:00 |
|
Grant Sanderson
|
470e7bee1e
|
Recompute joint angle at the end of align_points
|
2023-01-10 16:01:52 -08:00 |
|
Grant Sanderson
|
e5b17aad69
|
Small bug fix for TransformMatchingShape
|
2023-01-10 16:01:34 -08:00 |
|
Grant Sanderson
|
22420b7724
|
Ensure joint angles are computed (if need be) during interpolation
|
2023-01-10 15:32:31 -08:00 |
|
Grant Sanderson
|
e189df81b1
|
Change default endpoint angle to be 0
|
2023-01-10 15:32:05 -08:00 |
|
Grant Sanderson
|
0c3367f27b
|
First-pass fix for joints in 3d
|
2023-01-10 15:17:08 -08:00 |
|
Grant Sanderson
|
131ecce7c4
|
Add rotate function
|
2023-01-10 15:16:41 -08:00 |
|
Grant Sanderson
|
7212a98d65
|
Small clean up
|
2023-01-10 12:59:10 -08:00 |
|
Grant Sanderson
|
802bd58aa7
|
Small cleanup
|
2023-01-10 12:26:16 -08:00 |
|
Grant Sanderson
|
116d6fe244
|
Revert emit_pentagon to work on 3d vectors
|
2023-01-10 11:51:05 -08:00 |
|
Grant Sanderson
|
6ec3d9f4a5
|
Add 'no_joint' to joint types
|
2023-01-10 11:06:41 -08:00 |
|
Grant Sanderson
|
ab1227a908
|
Ensure joint angles are up to date in align_points
|
2023-01-10 10:26:30 -08:00 |
|
Grant Sanderson
|
27db1c5987
|
Add arrays_match function
|
2023-01-10 10:25:59 -08:00 |
|
Grant Sanderson
|
8cd59f852d
|
Add small comments
|
2023-01-10 09:55:06 -08:00 |
|
Grant Sanderson
|
8175c2d408
|
Rename quadratic_bezier_geometry_functions to get_xy_to_uv
|
2023-01-10 09:53:17 -08:00 |
|
Grant Sanderson
|
b31ad49850
|
A little clean up to fill shader
|
2023-01-10 09:49:51 -08:00 |
|
Grant Sanderson
|
70113d5a48
|
Tiny cleanup
|
2023-01-10 08:58:08 -08:00 |
|
Grant Sanderson
|
4b652be492
|
Delete get_xyz_to_uv
|
2023-01-10 08:57:38 -08:00 |
|
Grant Sanderson
|
05796654f4
|
Replace "bezier_degree" with "is_linear"
|
2023-01-10 08:54:02 -08:00 |
|
Grant Sanderson
|
2b90f0b244
|
Add condition for auto-miter joints
|
2023-01-09 20:30:49 -08:00 |
|
Grant Sanderson
|
dcb166e21b
|
Refresh joint_angles on almost any change
|
2023-01-09 20:30:29 -08:00 |
|
Grant Sanderson
|
02a0ffe04e
|
Delete quadratic_bezier_distance.glsl
|
2023-01-09 20:17:10 -08:00 |
|
Grant Sanderson
|
98e358f87d
|
Move a line
|
2023-01-09 20:10:34 -08:00 |
|
Grant Sanderson
|
494e04405c
|
Refresh all family shader data in align_data
|
2023-01-09 20:10:06 -08:00 |
|
Grant Sanderson
|
480cc6759f
|
Small cleanup
|
2023-01-09 19:54:21 -08:00 |
|
Grant Sanderson
|
b4544052d9
|
Change fill shader to use simpler uv space
|
2023-01-09 19:54:09 -08:00 |
|
Grant Sanderson
|
f75df1e26e
|
Clean up a few messes from previous commit
|
2023-01-09 18:51:41 -08:00 |
|
Grant Sanderson
|
c67ae08b62
|
Have stroke geometry shader pass to a coordinate system where the curve is some segment of y = x^2
|
2023-01-09 16:46:38 -08:00 |
|
Grant Sanderson
|
d87db65344
|
Add stand-in for better unit normal treatment
|
2023-01-09 12:02:50 -08:00 |
|
Grant Sanderson
|
d1c765353d
|
Small comment change
|
2023-01-09 11:56:27 -08:00 |
|
Grant Sanderson
|
fc86bf7f9e
|
Specify that uniforms can be numpy arrays
|
2023-01-09 11:56:21 -08:00 |
|
Grant Sanderson
|
ccf7a503c1
|
Add ANGLE_THRESHOLD constant
|
2023-01-09 10:52:12 -08:00 |
|
Grant Sanderson
|
ccbb5534fa
|
Remove find_intersection
|
2023-01-09 10:52:02 -08:00 |
|
Grant Sanderson
|
80c0e88133
|
Put joint_angle information in VMobject.data
|
2023-01-09 10:08:03 -08:00 |
|
Grant Sanderson
|
5870274adb
|
Delete unused functions
|
2023-01-09 00:07:46 -05:00 |
|
Grant Sanderson
|
08c02b21aa
|
Small comment
|
2023-01-09 00:02:30 -05:00 |
|
Grant Sanderson
|
a6e5f25912
|
Delete get_reduced_control_points
|
2023-01-09 00:00:31 -05:00 |
|
Grant Sanderson
|
47d0dca087
|
Check for null curve
|
2023-01-08 23:58:45 -05:00 |
|
Grant Sanderson
|
16390283cf
|
Small cleanup for fill shader
|
2023-01-08 23:34:02 -05:00 |
|
Grant Sanderson
|
89d9e260eb
|
Various cleanups for stroke shader
|
2023-01-08 23:33:39 -05:00 |
|
Grant Sanderson
|
ae2a253fb1
|
Just pass one bevel parameter rather than two
|
2023-01-08 21:56:38 -05:00 |
|
Grant Sanderson
|
0136cef1d9
|
Minor simplifications for stroke shader
|
2023-01-08 21:53:43 -05:00 |
|
Grant Sanderson
|
2bf1f5eb40
|
Make sure pointwise_become_partial doesn't needlessly refresh joint angles
|
2023-01-08 21:29:35 -05:00 |
|
Grant Sanderson
|
21051ce289
|
Performance improvement for get_joint_angles
|
2023-01-08 21:29:08 -05:00 |
|