Commit Graph

  • 1c1325ff8d More coloring work of Surface to vert shader Grant Sanderson 2023-01-13 21:04:36 -08:00
  • 28d5baeeff Small stylistic tweaks Grant Sanderson 2023-01-13 21:04:15 -08:00
  • 51efe0d18e Merge branch 'master' of github.com:3b1b/manim into video-work Grant Sanderson 2023-01-13 20:42:03 -08:00
  • 12c3af9647 Update to get_subpath_end_indices_from_points Grant Sanderson 2023-01-13 20:35:54 -08:00
  • 42909a94ac No need for np.repeat in normalize_along_axis Grant Sanderson 2023-01-13 20:34:18 -08:00
  • 071e7f1a74 Small tweak for get_joint_angles Grant Sanderson 2023-01-13 20:33:36 -08:00
  • 2aa2eedbbd Calculate unit normal more directly Grant Sanderson 2023-01-13 17:42:59 -08:00
  • e534206eb6 Small style change to get_xy_to_uv Grant Sanderson 2023-01-13 17:37:08 -08:00
  • 394d87effb Small style tweaks to quadratic_bezier_fill/geom Grant Sanderson 2023-01-13 17:26:59 -08:00
  • e832bb775f Fix small bug with null triangles Grant Sanderson 2023-01-13 16:53:22 -08:00
  • 31cc2671e5 Have line_intersects_path not assume closed path Grant Sanderson 2023-01-13 16:35:18 -08:00
  • 937b894826 Clean up find_intersection Grant Sanderson 2023-01-13 16:35:01 -08:00
  • 599f74c749 Refresh bounding boxes after selection Grant Sanderson 2023-01-13 14:59:53 -08:00
  • 91f976f7e9 Don't include bounding box in Mobject.data Grant Sanderson 2023-01-13 14:58:52 -08:00
  • cbfe82579f Make sure VMobject.reverse_points works with new path convention Grant Sanderson 2023-01-13 14:16:04 -08:00
  • ae99c8cd2e Go back to use_simple_quadratic_approx being set at the Text level Grant Sanderson 2023-01-13 14:08:29 -08:00
  • da2b13aee9 Fix triangulation issue for Annulus Grant Sanderson 2023-01-13 13:22:26 -08:00
  • a88b56bb04 Be sure get_triangulation is called before orientation data is read in Grant Sanderson 2023-01-13 13:22:06 -08:00
  • 73a894c136 Set selection animating status after adding mobjects Grant Sanderson 2023-01-13 13:07:29 -08:00
  • c820cb4775 Don't propagate animating status to full extended family Grant Sanderson 2023-01-13 13:06:50 -08:00
  • 69ac946e63 Simpler get_gl_Position Grant Sanderson 2023-01-13 12:41:09 -08:00
  • 42d612f253 Clean up VMobject.get_joint_angles Grant Sanderson 2023-01-13 09:57:22 -08:00
  • 440138aac5 Allow for tracking which data keys should always have the same size as points Grant Sanderson 2023-01-13 09:47:06 -08:00
  • 108bb3da44 Have SVGs default to use_simple_quadratic_approx Grant Sanderson 2023-01-13 08:16:46 -08:00
  • 10d4db64c8 Merge pull request #1962 from LucaCappelletti94/tqdm_jupyter_notebook Grant Sanderson 2023-01-13 08:09:14 -08:00
  • e1abae1d96 Fix typo Grant Sanderson 2023-01-13 00:24:26 -08:00
  • c8a77a352f Fix Piano Grant Sanderson 2023-01-13 00:24:19 -08:00
  • d2800b6c96 Make sure cross behaves as expected on 2d arrays Grant Sanderson 2023-01-13 00:05:29 -08:00
  • c9a2971433 Remove stray constant Grant Sanderson 2023-01-12 23:58:49 -08:00
  • a12b5cca67 Add angle check in addition to use_simple_quadratic_approx Grant Sanderson 2023-01-12 23:58:43 -08:00
  • aa8fba5b02 Change subdivide_intersections default to one subdivision, remove second check Grant Sanderson 2023-01-12 23:58:19 -08:00
  • 2c6e8692ce Add condition for calling subdivide_intersections Grant Sanderson 2023-01-12 23:45:26 -08:00
  • a44fc2e6d5 Add optional number of subdivision to subdivide_intersections Grant Sanderson 2023-01-12 23:45:03 -08:00
  • 190b9e4603 Tiny tweak Grant Sanderson 2023-01-12 21:24:34 -08:00
  • f39fd92e9e Add condition to account for end of string Grant Sanderson 2023-01-12 21:24:27 -08:00
  • f0edc6628b Push default of use_simple_quadratic_approx being True to Text Grant Sanderson 2023-01-12 21:24:03 -08:00
  • 9f1ab09749 Make usage of simpler quadratic approximations an option for VMobject Grant Sanderson 2023-01-12 21:06:12 -08:00
  • a2f3758a7a Add VMobject.subdivide_intersections Grant Sanderson 2023-01-12 21:05:19 -08:00
  • de4a56849e Add line_intersects_path Grant Sanderson 2023-01-12 21:04:46 -08:00
  • 923066db2b Minor style changes to stroke geom shader Grant Sanderson 2023-01-12 19:54:32 -08:00
  • de5198196b Fix anti-alias width bug on DotCloud Grant Sanderson 2023-01-12 19:44:10 -08:00
  • a47b95044d Add assertions to assure VMobject has a valid number of points Grant Sanderson 2023-01-12 19:31:08 -08:00
  • db8b0e7bce Change simple quadratic approximation threshold Grant Sanderson 2023-01-12 19:24:56 -08:00
  • dcdf74a715 Clean up stroke geometry shader to better function in 3d Grant Sanderson 2023-01-12 19:24:42 -08:00
  • 9778c3e085 Remove no-longer necessary correction for path ends Grant Sanderson 2023-01-12 18:29:44 -08:00
  • 644ea41443 Default to simpler quadratic approximation of cubic beziers Grant Sanderson 2023-01-12 18:29:19 -08:00
  • 9464f83d18 Track indices for fill shader, but prevent ibo usage at the Camera level Grant Sanderson 2023-01-12 15:56:44 -08:00
  • a07701e295 Use triangle strip for stroke shader Grant Sanderson 2023-01-12 15:56:12 -08:00
  • 24afb2a24f Fix angle_between Grant Sanderson 2023-01-12 14:43:52 -08:00
  • c6d3a9646c Merge branch 'reduced-bezier-paths' into video-work Grant Sanderson 2023-01-12 13:38:55 -08:00
  • 64578df603 Don't save SVG Path data to file Grant Sanderson 2023-01-12 13:23:48 -08:00
  • e676bd957b Do inner joint angle computation in geom shader Grant Sanderson 2023-01-12 13:08:35 -08:00
  • 9320dad45f Have get_subpath_end_indices_from_points ask for exact equality between h and a0 Grant Sanderson 2023-01-12 11:54:25 -08:00
  • ab30f085b4 Simpler VMobject.get_num_curves Grant Sanderson 2023-01-12 10:40:18 -08:00
  • f3e91db581 Small comment change Grant Sanderson 2023-01-12 10:39:50 -08:00
  • 04fd50491e More consistent corners computation for stroke geom shader Grant Sanderson 2023-01-12 10:14:14 -08:00
  • 7d90a82317 Fix fill shader vert data Grant Sanderson 2023-01-12 10:13:42 -08:00
  • 1708fbd672 Updated tqdm to support also notebooks #1962 LucaCappelletti94 2023-01-12 12:03:14 +01:00
  • 1a8e923ef2 Small speed ups Grant Sanderson 2023-01-12 00:40:27 -08:00
  • a8fb05a44a Don't use index buffer for fill Grant Sanderson 2023-01-12 00:23:22 -08:00
  • c0b3c246de Revert "Revert "Go back to fill shader tracing vertex index manually"" Grant Sanderson 2023-01-12 00:16:05 -08:00
  • ae42f6244e Don't use an index buffer for stroke Grant Sanderson 2023-01-12 00:14:07 -08:00
  • 131e1c2eeb Have corners emitted by stroke geom shader better line up with bezier control points Grant Sanderson 2023-01-11 21:30:12 -08:00
  • 1f04ba92fb Fix Polygon.round_corners Grant Sanderson 2023-01-11 20:47:04 -08:00
  • ed26fdfab8 Have Polyline default to flat stroke Grant Sanderson 2023-01-11 20:31:38 -08:00
  • bf84b1933b Remove unnecessary flat stroke specification Grant Sanderson 2023-01-11 20:31:30 -08:00
  • 5a56a2a5ec Remove bad solution to bevel issue Grant Sanderson 2023-01-11 20:28:00 -08:00
  • f04d0ad350 Update add_cubic_bezier_curve Grant Sanderson 2023-01-11 20:27:37 -08:00
  • 8c435d6181 Default to flat stroke for polygons Grant Sanderson 2023-01-11 20:27:17 -08:00
  • 31715ec98a Fix Arrow Grant Sanderson 2023-01-11 20:09:28 -08:00
  • a17a57825e Fix Annulus and sector Grant Sanderson 2023-01-11 20:01:54 -08:00
  • 61437b2a7f Remove (no longer used) n_points_per_curve Grant Sanderson 2023-01-11 19:53:00 -08:00
  • 333db992ed Minor cleanup to Prism Grant Sanderson 2023-01-11 19:52:45 -08:00
  • 8a08b62f7c Remove n_points_per_curve reference Grant Sanderson 2023-01-11 19:52:33 -08:00
  • 5d7e923ac6 Remove stray imports Grant Sanderson 2023-01-11 19:40:21 -08:00
  • 6a18a05a3b Fix arrow for new path behavior Grant Sanderson 2023-01-11 19:40:15 -08:00
  • 5fac213fee Change crosshair initialization Grant Sanderson 2023-01-11 19:27:34 -08:00
  • 557e57d95b Change taper width default Grant Sanderson 2023-01-11 19:27:23 -08:00
  • d3a40eb1ac Update VShowPassingFlash for new path mode Grant Sanderson 2023-01-11 16:40:40 -08:00
  • 032a8fd030 Save answer for VMobject.get_outer_vert_indices Grant Sanderson 2023-01-11 16:25:42 -08:00
  • 387de61119 Revert "Go back to fill shader tracing vertex index manually" Grant Sanderson 2023-01-11 16:22:12 -08:00
  • 5e459d57c6 Revert "Don't use index buffer" Grant Sanderson 2023-01-11 16:21:55 -08:00
  • d9dc956137 Don't use index buffer Grant Sanderson 2023-01-11 15:59:46 -08:00
  • 7847ff1a9d Go back to fill shader tracing vertex index manually Grant Sanderson 2023-01-11 15:32:27 -08:00
  • f2370afea0 Treat stroke indices properly Grant Sanderson 2023-01-11 15:20:05 -08:00
  • dba70ceded Clean up Arc init Grant Sanderson 2023-01-11 14:55:03 -08:00
  • da125c1072 Add saved outer_vert_indices Grant Sanderson 2023-01-11 14:42:06 -08:00
  • c0fba529d9 Update crosshair for new path structure Grant Sanderson 2023-01-11 14:20:33 -08:00
  • 86b756ab1f No need for subdividing sharp curves Grant Sanderson 2023-01-11 14:20:20 -08:00
  • 55bc8464b9 Update Arc to make sense with new path structure Grant Sanderson 2023-01-11 14:19:57 -08:00
  • 21908a48de Change behavior of get_quadratic_approximation_of_cubic to return quintuplets instead of sextuplets Grant Sanderson 2023-01-11 14:19:33 -08:00
  • 40b9e22b6e Update some type hints in bezier Grant Sanderson 2023-01-11 14:19:17 -08:00
  • 2808710d60 Add VectNArray Grant Sanderson 2023-01-11 14:18:57 -08:00
  • c4e1db7f9d Don't draw paths where the handle equals the first anchor Grant Sanderson 2023-01-11 14:18:45 -08:00
  • 2a7b787ef6 Test the orientation in the middle of the curve Grant Sanderson 2023-01-11 14:18:12 -08:00
  • 681fa513a7 First pass at changing VMobject use simpler path strings Grant Sanderson 2023-01-11 14:17:56 -08:00
  • b967c04c2c Actually ensure get_joint_angle works for start_new_path case Grant Sanderson 2023-01-10 18:33:49 -08:00
  • 0205a37209 More tiny tweaks for joint_angles Grant Sanderson 2023-01-10 17:02:12 -08:00
  • eccaa8681e Ensure get_joint_angles works in start-new-path case Grant Sanderson 2023-01-10 16:48:08 -08:00
  • 9d9e000c63 Remove stray line Grant Sanderson 2023-01-10 16:41:12 -08:00