Skip navigation

Tag Archives: java

Its been a while since I have used processing for any of my projects so today I took some time to have a good look at some of the new libraries available for the framework. I was amazed at far processing has come, there are now libraries for everything from sound to reading the accelerometer built into a Mac book. I was very pleased to see that box2D has been wrapped to integrate simply into processing as this is a very powerful 2D physics engine. Here is the link to the libraries section of the processing site for anybody that is interested.

LINK

Advertisements

Try to keep up! The statement I have been telling myself a lot recently. The shift to HTML5 and CSS3 has left me scrambling for browser support comparisons and video encoding specifications. Web technologies like tectonic plates are shifting, some struggling to find their place while others are emerging powerful with claims of modularity and future proofing. All this change has rekindled my love for web development but there have been a couple of changes that I really want to shout about so here it goes:

Starting with the most obvious first – jQuery

This JavaScript library is an awesome alternative to the Flash based websites of the past. Don’t get me wrong I am addicted to AS3 and spend a lot of time tinkering with FLAR Toolkit (Flash augmented reality), Papervision 3d and APE (Actionscript physics engine) but the idea of having to install a third party plug-in to view a standard web page seems a little outdated. jQuery is a very capable library allowing tweening, DOM manipulation (Document object model) and AJAX capabilities all in an easy simple to implement package. I am not convinced that Flash will be run out-of-town by this JavaScript alternative, instead the technologies will settle in their own rightful places.

I love the power and ease of use that the processing.org java framework provides so I was excited to hear that an evolution of this framework has been developed, again utilizing the power of JavaScript. processingjs.org is a port of processing that runs within the browser without having to install a third-party plug-in (Are you starting to notice a pattern here?) The port has most of the important features of its parent and renders them within the HTML5 canvas tag. I have not had time to experiment with processingjs.org but if it’s as addictive as processing is then my schedule is about to be ruined. This is also a good example of why the move from HTML4 to HTML 5 was so important.

The last few changes that I find interesting are still based around the wonders of JavaScript but this time focusing on mobile technologies. If you have experience with jQuery then you will probably enjoy using jQtouch. The official site describes jQtouch as a “jQuery plugin for mobile web development on the iPhone, iPod Touch, and other forward-thinking devices.” I presume by forward thinking devices they mean other touch screen equivalents to the iPhone. This plug-in allows a developer to emulate a lot of the UI style and functionality of the iPhone within their mobile website. This means that a developer can bypass the rigmarole of getting that app accepted and published in the app store as long as they don’t mind it being run in the browser of the phone instead of installed on the phone itself.

Last but not least I want to talk about PhoneGap. PhoneGap allows you to write apps for many different smart-phones using HTML and JavaScript. I recently spent some time experimenting with the iPhone SDK and learning a bit about xCode (from what I can see xCode is another name for objective C.) The process is very bloated and slow, probably due to my lack of experience in objective C. There are a lot of well written tutorials around though so eventually I managed to get a couple of apps running reasonably well. This being said at the time I had not heard of phoneGap but if I had then I probably would have achieved my end goal in half the time. Not to mention the fact the finish article could have been exported for not just the iPhone but also Android, Symbian and Blackberry phones. What a breath of fresh air.

The underlying theme here is most definitely that 2010 is a good year for JavaScript. There are still some issues with browser compatibility and these are mainly down to Internet Explorer none the less I am excited to see what else can be achieved with a language that has been built into browsers ever since Netscape in 1995.

The very idea of an always on PC the size of a plug opens up vast possibilities. The SheevaPlug runs at an average of 5watts which is much less than the usual servers and house hold computers. It connects to an ordinary network and has a USB input to incorporate the usual peripherals such as cameras, external hard disk drives etc…

From what i could see this only comes with a type ‘A’ plug (American Standard) but i am sure there is a way of converting it to work in the UK. There is an open source API framework named RainDrop which from the text on the site ‘makes it effortless to deploy third-party applications onto the SheevaPlug securely and in a resource-defined manner.’

The SheevaPlug would be very useful when working with home automation and security.

This is a very poetic project and a very beautiful idea. The author and creator of the program decided it would be nice to have a way to convert the beauty of the retina in an eye in to music. He’s Using Processing as the backbone and creating OSC which are then picked up by SuperCollider.

I have not looked at SuperCollider yet but it does look like an excellent piece of software for producing real-time audio synthesis and algorithmic composition. So watch out in the future for experiments on my blog using this software.

heres the video showing the EyeSequencer:

this project was found on Makezine.com

Makezine found this project on: http://blog.califaudio.com

Just found this awesome java applet that has the potential to convert any picture to sound. Check out some of the pictures already defined on this site they actually sound quite good in an odd sort of way. Would be awesome to some how link this to a web cam so the sound could change on the fly. In theory A dancer could be placed in front of the web cam with a routine could produce a rather structured piece of music.

Find the applet HERE

%d bloggers like this: