Andersen Festival for Muzei – Source Code

As I wrote in the previous post, I made a plugin for the Muzei Live Wallpaper of Roman Nurik, containing the portraits of Hans Christian Andersen, made by illustrators who will held an exhibition at the Andersen Festival.

You can find the plugin in the Play Store; it is an open source project (licensed under Apache v2) and you can find the source code in my github repository.

Please note that I don’t own the portraits, so you won’t find the assets (the images) with those illustrations in the repository: it won’t compile at first but I wrote a readme in the assets folder with a list of the missing files.

Hans Christian Andersen by Matilde Martinelli

In this post I will explain some aspects about writing a plugin for Muzei.

Continue reading

Andersen Festival for Muzei

For the Andersen Festival, 14 illustrators will held an exhibit where they will show their drawings depicting 14 fables of Hans Christian Andersen.

In these days preceding the festival, they have drawn portraits of Andersen himself, to delight us during the waiting.

I liked them so much that, with the artists’ blessing, I have gathered all these portraits in a plugin for Muzei, you can find it here:

Please remember that you have to install Muzei first:

This is an initial release and not all the artists are present, yet.

I will release the source code under an open source license: if interested, check this blog for updates.

Update: read the next post for the source code!

Pure Data for libGDX

In the last months I dwelled a bit in the game development world, playing around with libGDX and Spine 2D.

I think that they are really good for 2D games (especially if you want to support Android and iOS) and that they perform very well in renderings and animations.

However I think that libGDX support for audio can be improved a bit.

Don’t get me wrong: libGDX has a good support for audio but I miss the days when I played around with Pure Data.

So I decided to write a small libGDX backend for libpd, the famous library that turns Pure Data into an embeddable audio synthesis library.

The repository is called pd-for-libgdx and you can find it in my github:

It’s open source, Apache v 2.0.

Technically I just wrote a thin layer that let you call pd-for-andoid and pd-for-ios, through bindings of RoboVM‘s Bro, from your platform-specific libGDX projects.

The backend is still a work in progress (actually it supports only Android and iOS) but it already let you play sounds, like in the pianotest project:

This backend is designed to be used from source, cloning the repository and adding the projects and dependencies to your Eclipse workspace.

Also, keep in mind that I am still using the old way how libGDX handle the projects. That means no Gradle, for now.

Please read futher if you want to know how to use the backend and for some technical details about libGDX.

Continue reading

We need an “OpenStack for the Internet of Things”

Monday morning thought: we need some sort of OpenStack for the Internet of Things.

While at hardware level we’ve got the Arduino Yun, I think that we have to stay open all the way to the API providers.

I think that Temboo is very powerful and useful but I already have doubts when I have to rely on other APIs for my web projects.

Adding a layer to the APIs, while is technically an advantage, can lead to additional lock-in problems.

MusicInk: I am no longer in the team

Public service announcement.

Starting from today, I am no longer in the team of MusicInk, as I am beginning other projects.

So, please, don’t foward me any questions regarding that project, as I can’t answer anymore.

The site has been updated accordingly (temporarly).

Circuit stamping: a follow up

Alessandro Contini made it!

After Rome Maker Faire, he continued to play with the stamps:

Continue reading