用于NUI开发的Python框架:Kivy

分享到:
用于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实现。并经回归测试过。


示例:
from kivy.app import App
from kivy.uix.button import Button
class TestApp(App):
def build(self):
return Button(text='Hello World')
TestApp().run()
helloworld.png

Framework Gallery

Kivy on Android

Pictures demo

Selected Projects

Particle Panda

Create particle effect for particle systems
used in Starling, Kivy and Cocos2d
Working on Desktop and mobile.

Source Code - Google Play - by Chaos Buffalo Labs

Yeco

Yeco is a multi touch controller for Ableton Live
Working on Windows 32/64, Mac soon

By Graham Comerford

ProcessCraft

Commercial application for Business Process Modeling
Running on iOS, Android, and others desktop OS

Website - by Showgen Ltd.

Deflectouch

Multitouch game, first place of the Kivy Contest #1

Source Code - by Cyril Stoller

FishLife

Multitouch game, second place of the Kivy Contest #1

Source Code - by Zogg

memoryKivy

Multitouch game, third place of the Kivy Contest #1

Source Code - by Niavlys

TicTacTouch

Multitouch screen used for control a PLC hardware machine.

By Dominique Burnand and Livio Conzett

bargenius

Interactive tablet menu with wine, beer, cocktail...
Clean design with cool touch interaction, on android !

Website - by fresk interactive

Kaleidoscope

Educational project using 4 tablets and 1 table with projection.
Augmented knowledge table, that can be shared across tablet.

Source Code - by Erasme

Touch Live

Monome-like controller implemented in Kivy.
Graham is creating his own music on it.

Source Code - by Graham Comerford

Icarus Touch

Continuous keyboard implemented in Kivy.
Cyril is improvising over some backing tracks.

Made by Cyril Stoller from Liquid Rain - Source Code

The noBOOTH

Interactive touchscreen using Kivy for taking
pictures and customize the photo with some gadgets.

Website - by fresk interactive

Plane White

Interactive white surface for discovering art exhibition.

Source Code - by Complex IT and Carina Ow



项目主页:http://www.open-open.com/lib/view/home/1408344378553

昵    称:
验证码:

相关文档: