processing sketch with some sample code