Commit graph

35 commits

Author SHA1 Message Date
Grant Sanderson
1c2ec03f7d Replace VMobject.make_approximately_smooth with VMobject.make_smooth(approx=True) 2023-01-19 11:34:13 -08:00
Grant Sanderson
51a5086093 Don't default to smoothing for implicit curves 2023-01-15 09:26:56 -08:00
Grant Sanderson
6ec3d9f4a5 Add 'no_joint' to joint types 2023-01-10 11:06:41 -08:00
Grant Sanderson
dec11a4b17 Rename np_vector type to Vect3 or Vect4 to make context clearer 2022-12-16 20:35:26 -08:00
Grant Sanderson
43fd5e1aea Move custom type to manimlib.typing 2022-12-16 20:19:18 -08:00
Grant Sanderson
7510c9808e expand type for ParametricFunction function 2022-12-16 15:02:35 -08:00
Grant Sanderson
3be43119cb Remove stray import 2022-12-15 18:18:52 -08:00
Grant Sanderson
25388b4ad3 Kill CONFIG in functions.py 2022-12-15 16:47:03 -08:00
Grant Sanderson
2dcc989bb4 (whitespace) 2022-04-27 09:51:43 -07:00
Grant Sanderson
587bc4d0bd Add necessary import 2022-04-23 10:16:23 -07:00
YishiMichael
9ef9961d0e
Sort imports 2022-04-12 19:19:59 +08:00
Grant Sanderson
f690164087
Merge branch 'master' into master 2022-03-22 11:00:33 -07:00
Bill Xi
0cef9a1e61
Reorganize getters for ParametricCurve 2022-03-06 13:54:42 +08:00
TonyCrane
4c16bfc2c0
chore: add type hints to manimlib.mobject 2022-02-15 14:37:15 +08:00
Grant Sanderson
602809758e
Video work (#1739)
* Enable setting points to a null list, and adding one point at a time.

* Add refresh_locked_data

* Add presenter mode to scenes with -p option

* Allow for an embed by hitting e during interaction

* Add set_min_height, etc.

* Make sure null parametric curve has at least one point

* Account for edge case where \{ is used in Tex

* Allow for logging notes in wait calls, useful for presenter mode

* Simplify choose, and add gen_choose for fractional amounts

* Default to no top on axes

* Allow match_x, match_y, etc. to take in a point

* Allow wait calls to ignore presenter mode

* Just use math.combo, no caching with choose(n, r)

* Use generator instead of list in bezier

* Bubble init_colors should override

* Account for "px" values read in from an svg

* Stop displaying when writing is happening

* Update the way Bubble override SVG colors
2022-02-13 15:16:16 -08:00
YishiMichael
baba6929df
Implement ImplicitFunction (#1727) 2022-02-07 08:24:40 -08:00
Grant Sanderson
c3ccfbfa65 re-introduce make_smoothing option 2021-02-06 11:39:19 -08:00
Grant Sanderson
567e62de03 Remove unused min_samples argument 2021-02-05 21:30:38 -08:00
Grant Sanderson
71f328c7ef Factor out approximate smoothing to VMobject.make_approximately_smooth function 2021-02-05 19:48:43 -08:00
Grant Sanderson
66817c4e2b Add alternate smoothing options 2021-02-05 16:29:07 -08:00
techdude
fc482c107f Merge branch 'master' of https://github.com/techdude/manim 2021-01-31 18:52:17 -07:00
techdude
384304e92b Add CONFIG parameter to allow disabling smoothing 2021-01-31 18:48:48 -07:00
Grant Sanderson
1f129f4a23 Clean up parametric function 2020-06-09 16:57:44 -07:00
Grant Sanderson
ee7218745e Fixed FunctionGraph bug 2020-06-09 12:34:43 -07:00
Grant Sanderson
017961e892 Changed min_samples 2020-06-06 13:22:48 -07:00
Grant Sanderson
58fe0c79d8 Reconfigured ParametricCurve 2020-06-06 11:43:59 -07:00
Grant Sanderson
7cec2e50d5 Rename: ParametricFunction -> ParametricCurve 2020-06-06 11:03:23 -07:00
Grant Sanderson
c794039b9d Replacing apply_along_axis 2020-02-19 23:43:33 -08:00
Grant Sanderson
ec90bb2e8a Change step size defaults on ParametricFunction 2020-02-12 12:49:46 -08:00
Grant Sanderson
9835813679 Rename generate_points to init_points 2020-02-11 19:55:00 -08:00
Grant Sanderson
d1e3e5ed20 Formatting correction 2019-05-27 19:48:14 -07:00
dor2727
e611069a4a smarter parameterized curve 2019-04-27 18:39:22 +03:00
Grant Sanderson
24d6113bba Get rid of propagate_style_to_family, since it is basically always true 2019-02-06 16:25:03 -08:00
Grant Sanderson
47f6d6ba38 Rewrote ParametricFunction to have less buggy interpolation 2019-02-06 15:18:11 -08:00
Devin Neal
3543a750ba move library code into manimlib, replace relative imports with absolute imports 2018-12-26 20:57:01 -08:00
Renamed from mobject/functions.py (Browse further)