Creating an ocean simulation using PixelFlow

I’m trying to create an interactive desktop background using Processing and I need a simulation of a 2d ocean. The idea is for you to be able to drag on the water creating waves which will move fish. I’ve started using the PixelFlow library and the example given on the site (, but I am finding it difficult to add a wave across the entire screen. I think a wave similar to this ( will make it look much less still so I’d like to be able to add something like this while still keeping the base mechanics. If anyone knows how to do this easily using PixelFlow or some other library that would be great.

For implementations of a 2D ocean surface, check out these two recent threads: