97 Commits

Author SHA1 Message Date
acba13f499 Add Scene.point_to_mobject 2021-08-22 14:57:32 -07:00
0787c4f362 Make sure framerate is 30 for previewed scenes 2021-08-21 17:07:20 -07:00
1e621e8278 fix: fix typo spelling grammar 2021-08-07 22:25:26 +07:00
354db4423f Merge pull request #1578 from nutanstrek/patch-1
Minor fix for zooming
2021-07-28 07:50:42 -07:00
4940ccac7d Minor fix for zooming
It's weird that when you Scroll Up, the interactive shell zooms out.

So to fix this replace factor -> 1/factor .
2021-07-14 13:56:20 +05:30
275cf94b06 Add frame to the scene when initialization
If we add an updater to the frame of the camera, and have not added the frame into the scene before, the updater will not work. So, I suggest to add the frame to the objects of the scene at the initilization stage.
2021-06-29 23:03:08 +08:00
d1fc6c8ed7 Merge branch 'master' of github.com:3b1b/manim 2021-02-23 12:01:00 -08:00
5008e20b8e Tiny PEP fix 2021-02-23 11:59:08 -08:00
c92b6dbd0b correct ascii fallback 2021-02-19 17:04:29 +00:00
9bf51bda02 Remove unnecessary import 2021-02-12 13:34:50 -08:00
e1e7b1e6c1 Changes to make reduce the time of from manimlib import * 2021-02-11 12:22:37 -08:00
1798875396 Call Window.init_mgl_context and reorder Window.__init__ 2021-02-10 14:48:00 -08:00
d24ba30fde Add .animate syntax 2021-02-10 07:43:46 -06:00
e7251bcc2f handle_play_like_call decorator to use functools.wraps
this way, decorated methods - typically Scene.play - have a decent docstring
so first-time users can use help()
2021-02-05 11:10:17 +01:00
521e3ef143 Include wait in the embed shortcut commends 2021-02-03 14:19:20 -08:00
7b614bc968 Refactored Event Dispatching Mechanism 2021-02-02 16:04:50 +05:30
d6b23324a6 Interactive Mobjects Performance Improvements 2021-01-31 16:05:55 +05:30
375bc2073d Include save_state and restore as shortcut methods during an embed 2021-01-30 17:51:40 -08:00
a3754fa606 Interactive Mobjects added 2021-01-28 14:02:43 +05:30
0ac155d150 Making writing to partial movies optional, and set the default to be False. 2021-01-23 11:02:22 -08:00
e4f888fbc4 Improved scrolling 2021-01-19 14:12:25 -08:00
e08784400a Reduce the need to type 'self.' so much when embedding into a scene. 2021-01-19 13:52:57 -08:00
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
f6b5edede2 reduce annoying errors 2021-01-16 10:21:42 +08:00
f61dfe7948 Tiny change 2021-01-13 00:35:39 -10:00
ff37b589ff Remove import 2021-01-09 10:26:20 -08:00
8c7e93f829 Change to pan by scrolling 2021-01-08 22:26:14 -08:00
20f5ba409f A few improvements to mouse interactions 2021-01-06 12:48:58 -08:00
065df65cf1 Reorganize how shader files sit in the shaders folder 2021-01-05 23:14:16 -08:00
3c1ab6ce25 Simple cleanup and removal of unused functions 2021-01-05 22:37:28 -08:00
afebc29440 Remove container 2021-01-03 12:29:05 -08:00
e01496e8bd Rearrange how passing in no module or scenes is handled 2021-01-02 22:20:13 -08:00
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
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
fd1f4313ec Lock shader data during interaction 2020-06-18 16:30:38 -07:00
138c48c739 Remove old commented out window timing code 2020-06-17 17:10:56 -07:00
725a7e3121 Enable 3d rotations 2020-06-01 16:21:18 -07:00
2d0257562f End scenes after embed 2020-04-12 09:53:29 -07:00
7785a06441 Move where refreshing shader uniforms happens 2020-03-06 06:16:09 -08:00
60b1e284f3 Don't embed when writing to file with no preview 2020-02-23 22:59:29 +00:00
7b198545bb Get rid of old methods 2020-02-22 13:20:22 -08:00
ea59950b2c Have mobjects track family and parents more directly 2020-02-21 10:56:40 -08:00
ad1caca45e Remove get_moving_mobjects 2020-02-19 23:26:54 -08:00
51167e19fe Rename and move around lock_static_mobject_data 2020-02-19 23:21:41 -08:00
b373b7936a Move rendering to Mobject, and be smarter about caching data and vbo 2020-02-19 23:13:29 -08:00
9f3551f43b Change how play/wait timing works with the window 2020-02-18 22:30:43 -08:00
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
dc8eb317dd Improving embed 2020-02-14 16:26:49 -08:00
8402b9ea53 Add mouse points, embed, and move mobject updating to update_frame 2020-02-14 15:30:44 -08:00
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