I stumbled upon a great little example for neual networks a while back in processing.
Its a simple network allows you to specify how deep you would like the network. It only makes use of the signoid function. And the sigmoid is calculated in setup to save computation time.
Do bear in mind that there are no filters or encoders its just the network and the neurons.