108 Commits

Author SHA1 Message Date
453ccc2765 remove unnecessary comment 2021-01-16 10:23:11 +08:00
3d118a5bb6 change the method of reset submobjects 2021-01-16 10:20:41 +08:00
7f27e926f2 replace single quotes with double quotes 2021-01-16 09:37:54 +08:00
5f6b653803 improve Text's handling of non-display characters 2021-01-16 09:35:13 +08:00
b423a423b5 Make customization more accessible 2021-01-15 10:16:37 -10:00
7c04edcced improve Text's size 2021-01-15 23:39:24 +08:00
f696ba4100 add an example for Text 2021-01-15 21:11:17 +08:00
1d1706039e remove an unnecessary import 2021-01-15 20:25:17 +08:00
79b8136330 fix Text in shaders 2021-01-15 20:21:17 +08:00
d65a915e7b Initialize colors properly with new TexMobject structure 2021-01-13 08:18:24 -10:00
bf3571c103 Have DecimalMobject look to the same cache that TexMobjects do 2021-01-13 00:24:40 -10:00
6537258f24 Cache already computed TexMobjects 2021-01-13 00:11:27 -10:00
ad60b903d0 Allow configuration of VMobjectFromSVGPathstring from SVGMobject 2021-01-13 00:09:36 -10:00
ddfc3a6567 Replace lingering .points references 2021-01-12 07:27:32 -10:00
d1b888958b Save triangulation along with points 2021-01-11 16:37:01 -10:00
9314dfd933 Reframe Mobject, VMobject and SurfaceMobject with a data map 2021-01-11 10:57:23 -10:00
b3335c65fb Partial progress 2021-01-10 18:51:47 -08:00
7db1f7786a Remove unused import 2021-01-07 16:37:35 -08:00
5eee39803f Rename get_tex_string -> get_tex 2021-01-07 12:14:51 -08:00
9122aa2419 Cleaned up TexMobject.break_up_tex_strings 2021-01-07 12:07:27 -08:00
007680a183 Rename substrings_to_isolate to simply isolate, and fix a bug associated with rendering sqrt{ 2021-01-07 11:50:15 -08:00
4a19c48667 strip tex strings so that they're easier to match 2021-01-06 16:14:16 -08:00
5b454a3ff7 Remove rotate_in_place and scale_in_place methods, as they had the same functionality as rotate and scale 2021-01-05 22:05:15 -08:00
06f0374143 Fix typo bug and change default alignment for text 2021-01-05 22:04:16 -08:00
92386f4e20 Cleanup how tex_strings are handled, introducing the ability to simply surround substrings of the input with {{ and }} in order to make sure they are separated 2021-01-05 18:02:32 -08:00
2cdebeda29 Add slice_by_tex method 2021-01-04 16:01:04 -08:00
b22f1ab715 Remove reference to FILE_DIR 2021-01-03 17:25:37 -08:00
3b26a6c260 Clean up colors, e.g. replacing LIGHT_GREY and DARK_GREY with GREY_B and GREY_D 2021-01-02 22:44:53 -08:00
7b3f4d08f5 Replace the progress bar with a simple display of what's being written which then gets deleted 2021-01-02 21:32:48 -08:00
d2518df82c Add deprication warning 2021-01-02 21:32:07 -08:00
592432611b Remove all configuration from constants.py, and clean up the many files affected by this move 2021-01-02 20:47:51 -08:00
915b7ea3ad Removed some drawings specific to 3b1b videos 2021-01-01 20:20:48 -08:00
5a238f1551 Removed Logo from drawings 2021-01-01 20:12:02 -08:00
3a1f07492c Moved 3b1b specific content out of this project 2020-12-31 13:04:13 -08:00
1237ecc8f0 More percent sign exceptions 2020-12-17 15:59:14 -08:00
af0948ea15 Address percent bug a better way, but still witha patch that shouldn't be permanent 2020-12-04 08:25:23 -08:00
26834178e7 Bug fix to Bubble 2020-08-16 09:45:48 -07:00
33d4dd7729 Fix svg polygon command 2020-08-12 13:24:16 -07:00
0c37d91af3 This is just a temporary hack, but percent signs don't behave well atm 2020-08-12 13:23:54 -07:00
9a2b2ecd9e Small repositioning 2020-06-26 21:53:26 -07:00
9d03f40be2 Keep tex mobject from calling itself twice 2020-06-26 21:53:06 -07:00
c2feb6fff1 Add shorted method for setting background stroke 2020-06-26 15:35:37 -07:00
1f6308577b Only remove null curves for tex mobjects 2020-06-23 14:26:02 -07:00
c653610215 Add Checkmark and Exmark 2020-06-22 15:22:29 -07:00
a4d4ae9b47 Don't get rid of null curves each frame, instead do it once for SVG mobjects. 2020-06-09 20:39:32 -07:00
d83fa90606 Fix Text Class's bugs in shaders branch (the same as #1030) (#1031)
* fix: remove the last M tag in svg files to make Text run in shaders branch

* fix: close the svg path manually to fix the bug of wrong stroke

* fix: remove Space mobjects in Text to fix the bug of TransformText

* feat: make Text and TextMobject equal in size

* this will lead to more bugs of setting color, so I delete it

* fix typo in text_mobject.py

* fix conflict of default size and height
2020-05-07 01:21:43 -07:00
8384b8b46b Fix bug with clock 2020-03-27 12:04:30 -07:00
6e0ae83685 Small fixes 2020-02-27 17:17:53 +00:00
40b651d661 Reformat 2020-02-27 17:17:33 +00:00
ea59950b2c Have mobjects track family and parents more directly 2020-02-21 10:56:40 -08:00