This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Class definition of ChannelImageButton | |
from kivy.graphics import Clear, Rectangle, Color | |
from kivy.properties import ListProperty | |
class ChannelImageButton( ButtonBehavior, Image ): | |
losses = ListProperty() | |
gains = ListProperty() | |
def __init__(self, **kwargs): | |
super(ChannelImageButton, self).__init__(**kwargs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
APP=$1 | |
rm -rf $APP/Contents/Resources/venv/lib/python2.7/site-packages/docutils | |
rm -rf $APP/Contents/Resources/venv/lib/python2.7/site-packages/pip | |
rm -rf $APP/Contents/Resources/venv/lib/python2.7/site-packages/pygments/ | |
rm -rf $APP/Contents/Resources/venv/lib/python2.7/site-packages/Cython/ | |
rm -f $(find $APP -name "*.c") | |
rm -rf $APP/Contents/Resources/kivy/doc/ | |
rm -rf $APP/Contents/Resources/kivy/kivy/tools/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"framework": "Kivy", | |
"url": "http://kivy.org", | |
"framework_current_version" : "1.8.0", | |
"comparison_data_last_update" : "2014-07-13", | |
"tutorial_url": "http://kivy.org/docs/tutorials/pong.html", | |
"license": "mit-license", | |
"video_url": "http://vimeo.com/22725621", | |
"book": "978-1-4919-4666-4", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import oscP5.*; | |
import netP5.*; | |
import SimpleOpenNI.*; | |
OscP5 osc; | |
NetAddress osc_send_addr; | |
NetAddress tuio_send_addr; | |
SimpleOpenNI context; | |
XnVSessionManager sessionManager; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Liste des joints | |
================ | |
- l/r shoulder: epaule | |
- l/r elbow: genou | |
- l/r foot: pieds | |
- l/r knee: genou | |
- l/r hip: hanche | |
- head: tete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kivy.app import App | |
from kivy.uix.image import Image | |
class MainApp(App): | |
def build(self): | |
return Image(source='moonphase21.gif') | |
if __name__ == '__main__': |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
What I'm trying to do is draw a border around my widget. | |
Here, an AsyncImage. | |
""" | |
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.uix.gridlayout import GridLayout | |
from kivy.uix.tabbedpanel import TabbedPanel | |
Builder.load_string(""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from kivy.app import App | |
from kivy.uix.widget import Widget | |
from kivy.properties import ObjectProperty, NumericProperty | |
from kivy.lang import Builder | |
Builder.load_string(''' | |
<ArrowPointer>: | |
canvas: | |
Color: |