Commit graph

1635 commits

Author SHA1 Message Date
Grant Sanderson
ccc84f4ab1 Give Numbers a default border width 2024-08-16 15:21:29 -05:00
Grant Sanderson
bb42b66201 Include fill border width in style 2024-08-16 15:21:20 -05:00
Grant Sanderson
c20ce8d633 Have arrows default to flat stroke 2024-08-16 15:10:40 -05:00
Grant Sanderson
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
Grant Sanderson
902a4f264e Add white space after assert statements 2024-08-16 12:15:55 -05:00
Grant Sanderson
3f15715ff1 Use _data_defaults for initializing fill border width 2024-08-16 12:10:37 -05:00
Grant Sanderson
174f318602 Push _data_default initialization into init_data 2024-08-16 12:10:07 -05:00
Grant Sanderson
430a88cf13 Change default border width to 0, and only draw it for opacity 1 2024-08-16 12:05:47 -05:00
Grant Sanderson
59235d3eed Include flat stroke in get_style, set_style, match_style 2024-08-15 15:37:55 -05:00
Grant Sanderson
1ff758dea8 Remove (no longer necessary) specifications of non-flat stroke for 3d things 2024-08-07 15:06:10 -05:00
Grant Sanderson
bf43a648a4 Allow for setting flat stroke in VMobject.set_stroke 2024-08-07 14:54:37 -05:00
Grant Sanderson
0dcf630222 Change default to non-flat stroke rendering 2024-08-07 11:23:37 -05:00
Grant Sanderson
44ec9933b7 Small format fix 2024-08-06 10:39:23 -05:00
Grant Sanderson
4ff61ed561 Default approximate smoothing (non-approx has a bug in 3d) 2024-08-06 10:27:35 -05:00
Grant Sanderson
4223bb6320 Small cleanup on TracedPath 2024-08-06 10:23:46 -05:00
Grant Sanderson
2b6ec2d95f Add spacing on assert lines 2024-08-05 15:01:20 -05:00
Grant Sanderson
5decf810e7 Change default anti_alias_width to 1.5 2024-08-01 07:41:45 -05:00
Grant Sanderson
5aeb457bb1 Hot fix for Traicing Tail 2024-07-31 15:32:17 +02:00
Grant Sanderson
57d4732ef1 Remove unused lines 2024-07-31 15:23:59 +02:00
Grant Sanderson
f5d1a9c449 Keep track of original float matrix in DecimalMatrix 2024-03-25 19:10:42 -03:00
Grant Sanderson
920f2407e0 Revert default underline stroke width 2024-03-25 19:10:30 -03:00
Grant Sanderson
7565e936fa Better bubble flipping 2024-03-25 19:10:16 -03:00
Grant Sanderson
1d6aa47933 Reimplement SpeechBubble and ThoughtBubble 2024-03-21 14:36:17 -03:00
Grant Sanderson
0509e824c6 Have border_width default to 0 for lower opacity 2024-03-21 14:36:06 -03:00
Grant Sanderson
7e6a37d499 Typo fix: make_number_changable -> make_number_changeable 2024-03-21 10:03:41 -03:00
Grant Sanderson
b26feb7045 Adjust Underline configuration 2024-03-21 09:59:29 -03:00
Grant Sanderson
fa99eafe2b Account for rgba case in point_to_rgb 2024-03-16 11:10:42 -03:00
Grant Sanderson
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
Grant Sanderson
83cd5d6246 Clean up updater matters, prune unused functions 2024-03-07 16:07:39 -03:00
Grant Sanderson
70b839e188 Change to only compute has_updater status as needed 2024-03-07 15:34:26 -03:00
Grant Sanderson
fd35433a62 Change name note_updated_family -> note_changed_family 2024-03-07 15:32:15 -03:00
Grant Sanderson
4b14c11e4b Only reconstruct family as needed 2024-03-07 13:49:07 -03:00
Grant Sanderson
e124aecd6b Clarify Mobject.needs_new_bounding_box is private 2024-03-07 13:27:29 -03:00
Grant Sanderson
3c778ba678 Add comment to Mobject.animate 2024-03-07 13:27:09 -03:00
Grant Sanderson
a6b46c641b Add Mobject.always and Mobject.f_always
For nicer syntax in creating updaters
2024-03-07 10:17:01 -03:00
Grant Sanderson
1372cf101c Allow VGroup and Group to accept generators and iterables as arguments 2024-03-07 09:23:02 -03:00
Grant Sanderson
a5f2ac689f Spacing 2024-03-07 08:40:10 -03:00
Grant Sanderson
7edc4b64ad Replace numbers_with_elongated_ticks -> big_tick_numbers 2024-02-22 11:47:28 -08:00
Grant Sanderson
e784c42f0d Add big_tick_spacing option NumberLine 2024-02-22 11:45:31 -08:00
Grant Sanderson
712fa30174 Ensure Brace.get_tex uses buff key word arg 2024-02-21 12:25:43 -08:00
Grant Sanderson
5632fee9a3 Ensure get_opacity returns float 2024-02-21 12:25:26 -08:00
Grant Sanderson
7b577e9fc1 Have matrix keep track of elements and ellipses as lists instead of VGroups 2024-02-13 14:52:16 -06:00
Grant Sanderson
4ce8a3ba9d Fix computation of normals for Surface 2024-02-13 14:48:00 -06:00
Grant Sanderson
578427543c Add defaults for Matrix object to have ellipses 2024-02-09 17:48:02 -06:00
Grant Sanderson
c531e56a2f Fix DecimalNumber.set_value font size issue 2024-02-08 14:55:12 -06:00
Grant Sanderson
45f8ca7643 Specify output type for DecimalMatrix.element_to_mobject 2024-02-08 14:44:12 -06:00
Grant Sanderson
2966f358a3 Pull type definitions used for Generic[SubmobjectType] outside of if TYPE_CHECKING block 2024-02-08 14:43:37 -06:00
Grant Sanderson
8417369da1 Performance improvement for DecimalNumber.set_value 2024-02-08 14:42:46 -06:00
Grant Sanderson
100b108ad1 Treat Group and VGroup more like list types
This may not be the best way to address it, but at least temporarily it prevents linting issues for calls like VGroup(Circle())[0].get_radius()
2024-02-05 15:02:13 -06:00
Grant Sanderson
7009f0f53e Add space after assert 2024-02-03 19:11:18 -06:00