To compile the code you need rebar in your PATH.
Type the following command:
$ make
You can then start the online visualisation from an Erlang node with the following command:
percept2_online:start().
Then point your browser to the indicated URL to open the Percept2 online visualisation page.