added:working brick generation in pure canvas