Gui.set_image为何图像先是列后是行

https://docs.taichi-lang.org/zh-Hans/api/master/taichi/ui/gui/#taichi.ui.gui.GUI.set_image
提到
The image pixels are set from the values of img[i, j], where i indicates the horizontal coordinates (from left to right) and j the vertical coordinates (from bottom to top).

为何和普通图像表示习惯是反的?

Hi,这是一个convention的问题。正常在笛卡尔坐标系下面的二维坐标系统,横坐标是在纵坐标之前的。这确实和先行后列的图像习惯不太一样。

1 个赞