ExamplesΒΆ

Follow through the examples.
Directory Filename/s Example Description
  • ./examples/animation
  • animate.py
  • ./examples/application
  • app_with_build.py
  • app_with_kv.py
  • app_with_kv_in_template1.py
  • Application example using build() + return
  • Application from a .kv
  • Application from a kv_directory
  • ./examples/canvas
  • bezier.py
  • canvas_stress.py
  • mesh.py
  • multitexture.py
  • stencil_canvas.py
  • How to draw bezier Lines
  • Stress test canvas
  • How to use Meshes in kivy
  • How to handle multiple textures with shader
  • How to use Stencil on widget canvas
  • ./examples/demo:
  • camera_puzzle.py
  • A puzzle using camera’s output
  • ./examples/demo/pictures
  • main.py
  • ./examples/demo/shadereditor
  • main.py
  • How to use fragment and vertex shaders
  • ../examples/demo/showcase
  • main.py
  • Showcase of widgets and layouts used in kivy.
  • ./examples/demo/touchtracer
  • main.py
  • Draw lines under every touch/s detected.
  • A good place to understand how touch events work in kivy.
  • ./examples/frameworks/twisted
  • echo_client_app.py
  • echo_server_app.py
  • ./examples/gestures
  • gesture_board.py
  • A clean board to try out gestures.
  • ./examples/guide/designwithkv
  • main.py
  • Programming Guide examples on how to design with kv lang.
  • ./examples/guide/firstwidget
  • 1_skeleton.py
  • 2_print_touch.py
  • 3_draw_ellipse.py
  • 4_draw_line.py
  • 5_random_colors.py
  • 6_button.py
  • Programming Guide examples Your first widget.
  • ./examples/guide/quickstart
  • main.py
  • Prigramming Guide Quick start example.
  • ./examples/kinect
  • main.py
  • Howto use kinect for input.
  • ./examples/kv
  • kvrun.py
  • load kv files, use kv lang to load different widgets.
  • ./examples/RST_Editor
  • main.py
  • ./examples/shader
  • plasma.py
  • plasma.py
  • How to use Different Shaders
  • ./examples/shader
  • plasma.py
  • How to use Different Shaders
  • ./examples/widgets
  • accordion_1.py
  • asyncimage.py
  • bubble_test.py
  • customcollide.py
  • fbowidget.py
  • image_mipmap.py
  • keyboardlistener.py
  • label_mipmap.py
  • rstexample.py
  • scatter.py
  • scrollview.py
  • textalign.py
  • textinput.py
  • unicode_textinput.py
  • videoplayer.py
  • Usage and Showcase of Accordion Widget.
  • Usage and Showcase of AsyncImage Widget.
  • Usage and Showcase of Bubble Widget.
  • Test for collision with custom shaped widget
  • Usage of FBO to speedup graphics.
  • How to use Image widget with mipmap.
  • listen to the keyboard input and spew result to console.
  • How to use Label widget with mipmap.
  • Usage and Showcase of RstDocument Widget.
  • Usage and Showcase of Scatter Widget.
  • Usage and Showcase of ScrollView Widget.
  • Usage and Showcase of text alignment in Label widget.
  • Usage and Showcase of TextInput Widget.
  • Showcase of unicode text in TextInput Widget.
  • Usage and options of VideoPlayer Widget.
  • ./examples/widgets/sequenced_images:
  • main.py
  • Showcase usage of sequenced images: gif, images in .zip.