Create dissolve_pattern.js