done 2d variant. only calculating. no render. no interactive mode.