You can move the square using mouse clicks. Mouse wheel changes the square size.
vertex.glsl:
fragment.glsl: