text
Demos textAlign()
BOTTOM mode does not work properly in Javascript mode, which is what you are seeing here.
Downloading the code and running it under normal Java mode should work fine.
Source code: text
Built with Processing and Processing.js