Displacement Map with bash and JS