3362 Commits

Author SHA1 Message Date
ae590e7fde Add point_to_rgb 2020-08-12 13:23:21 -07:00
150b03427d Change default window location 2020-08-12 13:23:04 -07:00
960e4e13eb Updated arrange_in_grid 2020-07-23 11:57:18 -07:00
e7a60c6c85 Updated arrange_in_grid 2020-07-23 11:56:06 -07:00
72472c5836 Refactor in terms of a ShaderWrapper object 2020-07-22 18:21:42 -07:00
ae8e8040d7 New implementation of smooth 2020-07-22 18:19:07 -07:00
5ee4b94ec3 Not great, but adding an alternate implementation of make_smooth in as a comment just because it's unclear what's best right now 2020-07-22 18:18:29 -07:00
93f7671732 Fixes to Arrow 2020-07-22 18:17:08 -07:00
cf0afb0259 New name in name_map (which really should exist not in source code) 2020-07-22 18:16:59 -07:00
dbe33f9382 Change axis defaults 2020-07-22 18:16:34 -07:00
f31cf2e30f Changes to Fourier series for name animations 2020-07-22 18:16:09 -07:00
81715adb05 End of chess 2020-07-22 18:15:48 -07:00
9a44794dc9 Removes default color for polygon 2020-06-29 22:53:44 -07:00
46b52a1bbc Small fix to VMobject.pointwise_become_partial for cases when points array sizes dont' match 2020-06-29 22:53:23 -07:00
5e7913fdd4 Implemented pointwise_become_partial for parametric surfaces 2020-06-29 22:52:27 -07:00
61424dbfec Factor out get_render_group_list 2020-06-29 18:25:56 -07:00
2671817ae9 Refactor away from treating shader_info as a dictionary, and make it a proper type as ShaderWrapper. This also includes some cleanup in hos Camera renders 2020-06-29 18:17:18 -07:00
165bf2fe6e Small bug fix 2020-06-29 18:15:54 -07:00
feb6a33135 Account for fixed_in_frame in set_value 2020-06-29 18:15:40 -07:00
cd371dc207 Add Mobject.has_updaters which is distinct from Mobject.suspend_updating 2020-06-29 11:23:01 -07:00
2b3bd2bfce Use an index buffer for shaders to save memory 2020-06-29 11:05:09 -07:00
978137b143 Use super() 2020-06-29 11:04:48 -07:00
f11cb5a498 Small cleanups to arrow 2020-06-29 11:04:23 -07:00
0b58572f41 Removes magic number 2020-06-28 12:15:55 -07:00
439e83f40e set_array_by_interpolation 2020-06-28 12:15:01 -07:00
279f66ceaf A little refactoring and performance improvement 2020-06-28 12:14:46 -07:00
8af879236e Make gloss and shadow uniforms 2020-06-28 12:13:25 -07:00
1cab58ac49 Change how arrow is implemented to be all fill no stroke 2020-06-28 10:05:49 -07:00
41fd6d4f4b Simply reorders where some methods are defined 2020-06-28 10:05:27 -07:00
13bcd723cf Adds a small todo 2020-06-28 10:05:00 -07:00
14cac5ce71 Make stroke width array a float 2020-06-28 10:04:40 -07:00
6a735e49b8 Refresh rotation matrix after interpolation 2020-06-27 12:17:53 -07:00
b443c9e764 Fixed bug at a = 1 for partial_bezier 2020-06-27 12:17:41 -07:00
90db32ee55 Have camera_frame remember rotation matrix by default 2020-06-27 12:10:51 -07:00
54bde86c7b Some small performance improvements to VMobject 2020-06-27 12:10:22 -07:00
10c6bfe3ad Add refresh_shader_info_id insetead of having create_shader_info_id called all the time 2020-06-27 00:01:45 -07:00
26ce1d86ab Remove unlock_shader_data calls 2020-06-27 00:01:04 -07:00
6ba1eae8f6 Use ctx.vertex_array instead of ctx.simple_vertex_array 2020-06-27 00:00:50 -07:00
60e1c88eb4 Slight tweaks to how shader_info id is found and stored 2020-06-26 23:05:25 -07:00
661b81ab17 By default, don't recursively check for updaters unless there's something to find 2020-06-26 22:16:04 -07:00
5d371bfec9 Fix broken import 2020-06-26 21:53:54 -07:00
4910501ee0 Clean up end scroll 2020-06-26 21:53:39 -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
9795beba89 Removes locked_shader_data notion 2020-06-26 21:52:50 -07: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
72bfb0047e Prep for antipode animations 2020-06-26 15:36:51 -07:00
9b9dca7bed Final(?) Chessbaord animations 2020-06-26 15:36:38 -07:00
a05621e857 Changes to end scroll 2020-06-26 15:35:50 -07:00
c2feb6fff1 Add shorted method for setting background stroke 2020-06-26 15:35:37 -07:00