1645 Commits

Author SHA1 Message Date
f12b143d16 Unify get_shader_wrapper_list, and and better subdivide render groups by ShaderWrapper ids 2024-08-20 08:53:51 -05:00
b288d5301e Get rid of cached _has_stroke and _has_fill parameters 2024-08-19 17:27:47 -05:00
c064b11e2a Interleave base_point and unit_normal in the same array 2024-08-19 16:50:49 -05:00
09d147c8ef Set default border width to 0.5, and keep it for opacities < 1 2024-08-19 14:35:19 -05:00
a12fa0c03d Remove attributes from VMobject which are now handled in VShaderWrapper 2024-08-19 10:04:28 -05:00
4174f314b4 Reorganize, and ensure get_shader_wrapper_list works for general Groups 2024-08-19 09:17:58 -05:00
f2bca0045f Add border width and backstroke 2024-08-19 08:18:45 -05:00
24b160f9f9 Update VMobject shader wrapper
Use a combined VBO
Render with TRIANGLE_STRIP, and ignore every other
2024-08-19 08:05:32 -05:00
f9b9cf69fd Update so that vbo is not recreated on each from, but is read into 2024-08-17 07:11:56 -05:00
0efa96e399 Just use L-inf norm for point equality 2024-08-16 16:18:37 -05:00
ccc84f4ab1 Give Numbers a default border width 2024-08-16 15:21:29 -05:00
bb42b66201 Include fill border width in style 2024-08-16 15:21:20 -05:00
c20ce8d633 Have arrows default to flat stroke 2024-08-16 15:10:40 -05:00
108db87087 Rather than ignoring border with for non-one opacity, go back to having set_fill default to setting 0 border width for intermediate opacities 2024-08-16 12:38:11 -05:00
902a4f264e Add white space after assert statements 2024-08-16 12:15:55 -05:00
3f15715ff1 Use _data_defaults for initializing fill border width 2024-08-16 12:10:37 -05:00
174f318602 Push _data_default initialization into init_data 2024-08-16 12:10:07 -05:00
430a88cf13 Change default border width to 0, and only draw it for opacity 1 2024-08-16 12:05:47 -05:00
59235d3eed Include flat stroke in get_style, set_style, match_style 2024-08-15 15:37:55 -05:00
1ff758dea8 Remove (no longer necessary) specifications of non-flat stroke for 3d things 2024-08-07 15:06:10 -05:00
bf43a648a4 Allow for setting flat stroke in VMobject.set_stroke 2024-08-07 14:54:37 -05:00
0dcf630222 Change default to non-flat stroke rendering 2024-08-07 11:23:37 -05:00
44ec9933b7 Small format fix 2024-08-06 10:39:23 -05:00
4ff61ed561 Default approximate smoothing (non-approx has a bug in 3d) 2024-08-06 10:27:35 -05:00
4223bb6320 Small cleanup on TracedPath 2024-08-06 10:23:46 -05:00
2b6ec2d95f Add spacing on assert lines 2024-08-05 15:01:20 -05:00
5decf810e7 Change default anti_alias_width to 1.5 2024-08-01 07:41:45 -05:00
5aeb457bb1 Hot fix for Traicing Tail 2024-07-31 15:32:17 +02:00
57d4732ef1 Remove unused lines 2024-07-31 15:23:59 +02:00
f5d1a9c449 Keep track of original float matrix in DecimalMatrix 2024-03-25 19:10:42 -03:00
920f2407e0 Revert default underline stroke width 2024-03-25 19:10:30 -03:00
7565e936fa Better bubble flipping 2024-03-25 19:10:16 -03:00
1d6aa47933 Reimplement SpeechBubble and ThoughtBubble 2024-03-21 14:36:17 -03:00
0509e824c6 Have border_width default to 0 for lower opacity 2024-03-21 14:36:06 -03:00
7e6a37d499 Typo fix: make_number_changable -> make_number_changeable 2024-03-21 10:03:41 -03:00
b26feb7045 Adjust Underline configuration 2024-03-21 09:59:29 -03:00
fa99eafe2b Account for rgba case in point_to_rgb 2024-03-16 11:10:42 -03:00
d3ba101ee5 Change from tracking time_based_updater and non_time_updater lists separately to just tracking one list 2024-03-07 16:39:45 -03:00
83cd5d6246 Clean up updater matters, prune unused functions 2024-03-07 16:07:39 -03:00
70b839e188 Change to only compute has_updater status as needed 2024-03-07 15:34:26 -03:00
fd35433a62 Change name note_updated_family -> note_changed_family 2024-03-07 15:32:15 -03:00
4b14c11e4b Only reconstruct family as needed 2024-03-07 13:49:07 -03:00
e124aecd6b Clarify Mobject.needs_new_bounding_box is private 2024-03-07 13:27:29 -03:00
3c778ba678 Add comment to Mobject.animate 2024-03-07 13:27:09 -03:00
a6b46c641b Add Mobject.always and Mobject.f_always
For nicer syntax in creating updaters
2024-03-07 10:17:01 -03:00
1372cf101c Allow VGroup and Group to accept generators and iterables as arguments 2024-03-07 09:23:02 -03:00
a5f2ac689f Spacing 2024-03-07 08:40:10 -03:00
7edc4b64ad Replace numbers_with_elongated_ticks -> big_tick_numbers 2024-02-22 11:47:28 -08:00
e784c42f0d Add big_tick_spacing option NumberLine 2024-02-22 11:45:31 -08:00
712fa30174 Ensure Brace.get_tex uses buff key word arg 2024-02-21 12:25:43 -08:00