Commit Graph

37 Commits

Author SHA1 Message Date
Charles Merriam 6c707babe0 examples/canvas/mesh.py update docstring 2015-02-01 11:46:32 -08:00
Mathieu Virbel 0b9186b649 tesselator: change the example to be compatible with python 3 2014-08-30 17:21:11 +02:00
Mathieu Virbel a77706a1b4 Separate meshes and vertices, 2 differents mode of result iterations. Added documentation, cleaned example. 2014-08-30 17:02:34 +02:00
Mathieu Virbel ae39a516a6 tesselator: add all the .c to the tesselator extension. basic mesh works, still wip. 2014-08-30 14:11:25 +02:00
Alexander Taylor faff48dd2a Removed debug line in texture.py example 2014-08-02 01:42:25 +01:00
Alexander Taylor 256a9373b5 Added image for texture example 2014-07-30 22:33:53 +01:00
Alexander Taylor 92b0b54482 Changed texture example ui to be clearer 2014-07-30 22:27:22 +01:00
Alexander Taylor 8fc1c193ed Fixed texture example bug with finding texture 2014-07-30 22:23:36 +01:00
Alexander Taylor 1aac389b53 Added canvas texture example (tex_coords, wrap) 2014-07-30 22:19:13 +01:00
Mathieu Virbel 3070a93b89 WIP smooth lines 2014-05-27 18:31:26 +02:00
Mathieu Virbel f646521176 texture: fix repeating texture which is lost when GL reloading mechanism is used (like window resizing). closes #1393 2013-10-21 16:50:52 +02:00
Alexander Taylor 9790cbfb72 Fixed texture cropping for new circle drawing alg. 2013-09-28 17:52:43 +01:00
Mathieu Virbel 9d349a6501 ellipse: add faster algo when drawing circle (credits goes to http://slabode.exofire.net/circle_draw.shtml) 2013-09-27 18:24:21 +02:00
Mathieu Virbel bea9afa389 sync (no tested) 2013-05-30 18:01:39 +02:00
Mathieu Virbel 0c3c3e4f31 rotate: add origin property + example in examples/canvas/rotation.py 2013-05-05 10:08:21 +02:00
Mathieu Virbel 903767f112 line: fix cython exception when calculating ellipse/circle if segments % 2 == 1. closes #1115 2013-04-15 23:11:26 +02:00
Mathieu Virbel bae94bc3db first 2to3 pass + manual fix for metaclass, UserDict and OrderedDict 2013-03-18 17:39:56 -06:00
Gendo Ikari 6ddafdbfa8 examples: using new api for event binding in kwargs 2012-11-07 19:19:27 +01:00
Mathieu Virbel 04c5535631 line: add bezier/bezier_precision properties 2012-10-01 17:00:19 +02:00
Mathieu Virbel 66b78ec63f line: extend Line() to add new setter: ellipse, circle and rectangle. With this, we can build automatically the points.
Check the examples/canvas/lines_extended.py for a demo.
2012-09-26 18:43:03 +02:00
Mathieu Virbel 8c642388af line: add close property, use it for both legacy or extended mode.
+ don't draw cap if line is closed
+ optimize cos/sin calculation
+ fix crash due to invalid calculation if some round joint are avoided
2012-09-24 15:41:13 +02:00
Mathieu Virbel 9f4a649a3e enhance line example with 2 lines and sin/cos animation 2012-09-22 01:02:19 +02:00
Mathieu Virbel a217c363bc line: add an example 2012-09-22 00:08:49 +02:00
Mathieu Virbel fec2f6c07f update ClearBuffers / ClearColor documentation and implementation. 2012-06-16 18:59:10 +02:00
Mathieu Virbel dde62fe43e Mesh: fix and document Mesh instruction + add an example. Closes #64 2011-11-25 16:35:33 +01:00
Mathieu Virbel b805a0f915 examples: fix stencil example 2011-10-24 10:28:41 +02:00
Mathieu Virbel 415e299570 multitexture: add tiny example showing multitexture capability 2011-09-29 11:55:11 +02:00
Mathieu Virbel 3ca6385f38 update bezier example to use slider instead 2011-09-29 11:13:09 +02:00
Gabriel Pettier 295da2b3a2 provide modified bezier example to test dashed lines, but show problems 2011-09-25 23:52:18 +02:00
Gabriel Pettier 5497370493 work on bezier curve
optimised bezier algorithm (no more nested lists, use less ram)
fixed last point problem (curves wasn't goint up to it)
added loop option to bezier curve
updated example widget
2011-08-27 12:39:45 +02:00
Gabriel Pettier 1ace31dfdf fixed bezier curves to use any number of points, updated example 2011-08-26 15:20:07 +02:00
Gabriel Pettier 743bc180ed fixes for pull request
corrected cython header comment
flattened point list
2011-08-26 01:38:32 +02:00
Gabriel Pettier 5f407edf16 added bezier example in examples/canvas 2011-08-25 20:02:47 +02:00
Mathieu Virbel 4378afca9c doc: add some comments for examples 2011-06-19 19:42:40 +02:00
Mathieu Virbel 9fc0c6e72e examples: fix stencil_canvas example to work with stencilview 2011-03-29 17:43:00 +02:00
Thomas Hansen 605cf1ba2d add StencilCanvas to be able to use stencil masking. Only areas drawn to in stencil_canvas.stencil group will actually be rendered, other fragments will fail teh stencil test 2011-03-24 18:21:59 +01:00
Mathieu Virbel 85abba014c cleanup examples 2011-01-31 22:37:48 +01:00