Kivy rulz: ClockWidget: First version

kivy-logo-black-512

A couple of days ago, I discovered Kivy. It allows for rapid development of applications that make use of innovative user interfaces, such as multi-touch applications.

Some facts about Kivy:

  • based on Python
  • cross-platform: Windows, Mac OS X, Linux, Android, iOS
  • 100% free to use (LGPL v3 license)
  • GPU accelerated (OpenGL ES 2.0)
  • stable
  • well documented
  • damn fast

Let’s see how easy it is to build something.

We are going to build a ClockWidget. The design is based on the MoonyDesk digital clock, which you can find on CodePlex:

moonydesk

This is the result:

First version of the Kivy ClockWidget

I was able to build this in under four hours, although I am new to Kivy and had to go a lot through the documentation while I was implementing this.

In a following blog post we will add multi-touch behavior, so we are able to move, resize and rotate the widget. That will be a lot more fun.

Next time I will share the code with you.

Comments are closed.