Commit graph

79 commits

Author SHA1 Message Date
Sahil Makhijani
a3754fa606 Interactive Mobjects added 2021-01-28 14:02:43 +05:30
Grant Sanderson
0ac155d150 Making writing to partial movies optional, and set the default to be False. 2021-01-23 11:02:22 -08:00
Grant Sanderson
e4f888fbc4 Improved scrolling 2021-01-19 14:12:25 -08:00
Grant Sanderson
e08784400a Reduce the need to type 'self.' so much when embedding into a scene. 2021-01-19 13:52:57 -08:00
Grant Sanderson
59af903f14 Reorganize the interaction between CameraFrame and shader perspective transforms, along with some keyboard interactions for panning 2021-01-18 16:39:29 -08:00
Tony031218
f6b5edede2 reduce annoying errors 2021-01-16 10:21:42 +08:00
Grant Sanderson
f61dfe7948 Tiny change 2021-01-13 00:35:39 -10:00
Grant Sanderson
ff37b589ff Remove import 2021-01-09 10:26:20 -08:00
Grant Sanderson
8c7e93f829 Change to pan by scrolling 2021-01-08 22:26:14 -08:00
Grant Sanderson
20f5ba409f A few improvements to mouse interactions 2021-01-06 12:48:58 -08:00
Grant Sanderson
065df65cf1 Reorganize how shader files sit in the shaders folder 2021-01-05 23:14:16 -08:00
Grant Sanderson
3c1ab6ce25 Simple cleanup and removal of unused functions 2021-01-05 22:37:28 -08:00
Grant Sanderson
afebc29440 Remove container 2021-01-03 12:29:05 -08:00
Grant Sanderson
e01496e8bd Rearrange how passing in no module or scenes is handled 2021-01-02 22:20:13 -08:00
Grant Sanderson
93fe783b80 Make it so that simply typing 'python -m manim' will embed you in a blank scene to work with 2021-01-02 22:03:00 -08:00
Grant Sanderson
212cdbb4d2 Speed improvements. Camera saves vbo for static mobjects, data in shader_data_info is saved and concatenated in raw form 2020-06-26 19:29:34 -07:00
Grant Sanderson
fd1f4313ec Lock shader data during interaction 2020-06-18 16:30:38 -07:00
Grant Sanderson
138c48c739 Remove old commented out window timing code 2020-06-17 17:10:56 -07:00
Grant Sanderson
725a7e3121 Enable 3d rotations 2020-06-01 16:21:18 -07:00
Grant Sanderson
2d0257562f End scenes after embed 2020-04-12 09:53:29 -07:00
Grant Sanderson
7785a06441 Move where refreshing shader uniforms happens 2020-03-06 06:16:09 -08:00
Grant Sanderson
60b1e284f3 Don't embed when writing to file with no preview 2020-02-23 22:59:29 +00:00
Grant Sanderson
7b198545bb Get rid of old methods 2020-02-22 13:20:22 -08:00
Grant Sanderson
ea59950b2c Have mobjects track family and parents more directly 2020-02-21 10:56:40 -08:00
Grant Sanderson
ad1caca45e Remove get_moving_mobjects 2020-02-19 23:26:54 -08:00
Grant Sanderson
51167e19fe Rename and move around lock_static_mobject_data 2020-02-19 23:21:41 -08:00
Grant Sanderson
b373b7936a Move rendering to Mobject, and be smarter about caching data and vbo 2020-02-19 23:13:29 -08:00
Grant Sanderson
9f3551f43b Change how play/wait timing works with the window 2020-02-18 22:30:43 -08:00
Grant Sanderson
9d4b16d03f Moved around where batching mobjects by shader type occurs, while also pulling out some of the shader_id helper functions 2020-02-17 12:14:40 -08:00
Grant Sanderson
dc8eb317dd Improving embed 2020-02-14 16:26:49 -08:00
Grant Sanderson
8402b9ea53 Add mouse points, embed, and move mobject updating to update_frame 2020-02-14 15:30:44 -08:00
Grant Sanderson
b73ebb9cf5 Go back to scene recomputing mobject families on each frame, and fix a bug with skipping 2020-02-14 11:55:07 -08:00
Grant Sanderson
cfbcd9faa8 Remove distinction between moving mobjects and static mobjects...computations to figure this out may now outweigh the actual render times they save 2020-02-13 15:42:53 -08:00
Grant Sanderson
183bae0825 Move window operations to Scene 2020-02-13 10:42:07 -08:00
Grant Sanderson
960e918e61 Basic preview window 2020-02-11 19:51:19 -08:00
Grant Sanderson
0fe05ce07d Starting to chase scene to account for a shader-based camera 2020-02-04 15:28:50 -08:00
Grant Sanderson
40c8b7db76 Removed the option for displaying to excluse submobjects 2020-01-16 11:04:11 -08:00
Grant Sanderson
1609be6d49 Created and moved extract_mobject_family_members and restructure_list_to_exclude_certain_family_members functions 2020-01-15 18:30:58 -08:00
Grant Sanderson
1917349c4a Removed foreground mobjects 2020-01-15 18:01:28 -08:00
Grant Sanderson
f54b2ac81a Don't add sound while skipping animations 2019-09-10 13:26:30 -07:00
xy-23
519f82f1e7 Fix tqdm display problem in windows 2019-07-26 16:45:52 +08:00
Grant Sanderson
14a9316643 Make sure skipped wait calls use a longer dt 2019-04-16 12:50:56 -07:00
Grant Sanderson
982d437267 Use get_family_updaters to test if a mobject should be drawn during every frame of an animation 2019-04-04 14:29:52 -07:00
Grant Sanderson
ecb9184e1a Small addition for clarity 2019-03-19 17:31:03 -07:00
Grant Sanderson
b2c7e83843 Removed ContinualAnimation, reimplemented some of its occurances in the old_projects, added warnings for the rest 2019-02-16 12:46:54 -08:00
Grant Sanderson
e1deb770c8 Remove all support of ContinualAnimations from Scene 2019-02-16 12:08:16 -08:00
Grant Sanderson
e09fa811e5 Some preliminary changes to get rid of ContinualAnimation dependencies 2019-02-15 20:05:16 -08:00
Grant Sanderson
1aaef5aba9 Change where Animation.begin is invoked 2019-02-11 20:53:20 -08:00
Grant Sanderson
a2d99741f3 Remove kwargs from begin_animations 2019-02-08 15:26:30 -08:00
Grant Sanderson
a1cead1570 Factored out parts of Scene.play 2019-02-08 12:51:21 -08:00