Archive for the ‘hacks’ Category

SVG with Processing for mapping data

Monday, March 24th, 2008

casastristes.orgFor casastristes.org we are making different visualizations of the housing situation in Spain. Also Java is a pain in the ass on the web, in two of them we are using Processing comparing new inhabitants with newly constructed houses and free real estates per provinces. In the following article I show the advantages of using SVG graphics when mapping information.

(more…)

Mapping lat/lon values with JavaScript

Wednesday, March 19th, 2008

Googe Maps loads about 400 kByte for each visit to casastristes.org. Sometimes I prefer to implement a static map instead but still using latitude and longitude values for mapping the places. In the following example I show how to convert lat/lon values to x/y coordinates for the use on a static map.

(more…)

Processing with Eclipse

Thursday, May 31st, 2007

Finally I’m back doing a Processing project and decided to do it with Eclipse to have features like code completion and code templates of this professional IDE. After reading this forum post and this blog posts it was really an easy job to get started. Here are the steps I did:

(more…)

jsPictureShow – simple javascript pictureshow

Thursday, May 24th, 2007

jsPictureShow is a simple to use pictureshow written in javascript. actually there are a lot of pictureshows out there but I often needed really simple one as part of any website with fotos. this testpage should give you an idea about what it does.

(more…)

Configuring WiFi on Acer Laptop running Ubuntu 6.10

Friday, December 8th, 2006

Some weeks ago I did a fresh setup of Ubuntu 6.10 i386 on my laptop. Since my last install from zero – it was Ubuntu 5.10 AMD64 – it got much more easy to configure wireless network on my Acer Aspire 5021 WMLi. But still there are a few steps which are quite particular to resolve (there are a lot of forum threads discussing the issue) so I gonna describe step by step how todo it:

(more…)

Installing Arduino 0006 on Ubuntu 6.10

Saturday, October 7th, 2006

The installation of Arduino on Ubuntu 6.10 is much easier than it was on version 5.10. There are some really good tutorials for installing Arduino on Linux (Debian, Gentoo, Linux, forum thread) but I still like to describe my installation process Arduino 0006:

(more…)

First steps with Arduino prototyping board

Friday, June 30th, 2006

This week I’m doing a Arduino prototyping workshop at ESDI as part of Summer-School at Ramon Llul University. Two of the creators of Arduino, Massimo Banzi and David Cuartielles, are giving an introduction to electronic prototyping tecnics using this nice free hardware called Arduino. After giving an introduction on Arduino basics and setting up an example of interacting with the Arduino board troughout Processing we saw some examples of Arduino prototypes and installations (Virtual Fishtank, Virtual Sumo, Punching Bag) implemented with Ardunio.

As there is no binary package for Linux I had to compile the sources myself. In this document I discribe the installation process on a Ubuntu 5.10 AMD64 and in this document on Ubuntu 6.10

Installing Arduino on Ubuntu 5.10 AMD64

Wednesday, December 7th, 2005

Thanx to the people from Arduino to offer a Linux version. As there is no binary packet for any distro till now you have to compile the software by yourself. This forum thread and this article discribe the steps to get Arduino up and running on Linux but actually I noticed some differences on my machine. I’m running the AMD 64bit edition of Ubuntu 5.10 “Breezy Badger”.

(more…)