26 Commits

Author SHA1 Message Date
64ae1364ca Update the Vector Field interface 2024-11-12 11:21:19 -08:00
5ff80ffc6c Fix matplotlib color map import 2024-08-20 08:54:06 -05:00
f3571cf2cb Add random import 2024-02-08 14:37:58 -06:00
e4c824e672 Update random_bright_color to operate based on hsl ranges 2024-02-08 14:37:46 -06:00
31b2bcd9e6 Add interpolate_color_by_hsl 2024-02-08 14:37:30 -06:00
04d3e6a47c Interpolate colors using square of rgbs 2022-12-29 16:07:28 -08:00
1a485ddd19 Ensure color_to_hex always returns 6 character hex codes 2022-12-20 14:31:17 -08:00
75a98a8936 Change color_to_hex implementation 2022-12-19 18:03:53 -08:00
073a62bf03 Factor rgb_to_hex, hex_to_int and int_to_hex away from StringMobject and to utils/color 2022-12-19 17:28:22 -08:00
b817e6f15f Tweak type hints in color.py 2022-12-17 17:29:49 -08:00
43fd5e1aea Move custom type to manimlib.typing 2022-12-16 20:19:18 -08:00
958002152e Define ManimColor type in constants 2022-12-14 10:55:32 -08:00
9ef9961d0e Sort imports 2022-04-12 19:19:59 +08:00
0cf3199578 Adjust return type 2022-04-12 11:26:19 +08:00
f307c2a298 Add type annotations for color.py 2022-04-12 11:13:05 +08:00
e8205a5049 Some refactors for MTex 2022-01-26 13:03:14 +08:00
402c06c99a Allow 3b1b_colormap as an option for get_colormap_list 2021-02-25 08:48:22 -08:00
e1e7b1e6c1 Changes to make reduce the time of from manimlib import * 2021-02-11 12:22:37 -08:00
fb0de62ef4 Slight change to colormap 2021-01-10 14:12:15 -08:00
4e54c6de54 Fix rgb_to_hex bug 2020-11-24 13:29:27 -08:00
f4a33c5bfb Small fix 2020-02-22 13:20:37 -08:00
c794039b9d Replacing apply_along_axis 2020-02-19 23:43:33 -08:00
c654ca4506 Remove usage of np.append 2020-02-13 12:03:54 -08:00
7685fd03c6 Whoops, let an accidental deletion slip through 2020-02-06 10:00:55 -08:00
025f6d9524 Tiny stylistic change to rgb_to_hex 2020-02-05 14:44:35 -08:00
3543a750ba move library code into manimlib, replace relative imports with absolute imports 2018-12-26 20:57:01 -08:00