Code for visualising text using processing