change n-shape-painting.py