用于NUI开发的Python框架:Kivy
Kivy - 开源的Python库,用于快速开发创新用户界面的应用,比如多点触控的应用程序。
跨平台
Kivy能够运行在 Linux, Windows, OS X, Android 和 iOS 平台之上。您可以在所有支持平台上运行相同的代码。
它能够原生得使用大部分输入,协议和设备。包括WM_Touch, WM_Pen, Mac OS X Trackpad 和 Magic Mouse, Mtdev, Linux Kernel HID, TUIO。还包含一个多点触摸鼠标模拟器。
商业友好
Kivy是100% 免费使用。从1.7.2之后的版本使用 MIT license,之前的版本使用 LGPL 3 。该工具包是专业开发,支持和使用。您可以在商业产品中使用它。
该框架是稳定的,并且具有良好的API文档,再加上编程指南,以帮助您开始。
GPU 加速
图形引擎是建立在OpenGL ES 2 之上。用现代的,快速的图形pipeline。
该工具包附带了20多个部件,都高度可扩展的。许多部件都是用C开发,通过用Cython实现。并经回归测试过。
</div>
示例:
from kivy.app import App from kivy.uix.button import Button class TestApp(App): def build(self): return Button(text='Hello World') TestApp().run()
Framework Gallery
Kivy on Android
</div>
Pictures demo
</div>
</div>
Selected Projects
</div>
Yeco
Yeco is a multi touch controller for Ableton Live
Working on Windows 32/64, Mac soon
By Graham Comerford
</div>
ProcessCraft
Commercial application for Business Process Modeling
Running on iOS, Android, and others desktop OS
Website - by Showgen Ltd.
</div>
Deflectouch
Multitouch game, first place of the Kivy Contest #1
Source Code - by Cyril Stoller
</div>
FishLife
Multitouch game, second place of the Kivy Contest #1
Source Code - by Zogg
</div>
memoryKivy
Multitouch game, third place of the Kivy Contest #1
Source Code - by Niavlys
</div>
TicTacTouch
Multitouch screen used for control a PLC hardware machine.
By Dominique Burnand and Livio Conzett
</div>
bargenius
Interactive tablet menu with wine, beer, cocktail...
Clean design with cool touch interaction, on android !
Website - by fresk interactive
</div>
Kaleidoscope
Educational project using 4 tablets and 1 table with projection.
Augmented knowledge table, that can be shared across tablet.
Source Code - by Erasme
</div>
</div>
Icarus Touch
Continuous keyboard implemented in Kivy.
Cyril is improvising over some backing tracks.
Made by Cyril Stoller from Liquid Rain - Source Code
</div>
The noBOOTH
Interactive touchscreen using Kivy for taking
pictures and customize the photo with some gadgets.
Website - by fresk interactive
</div>