Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Quil 中,我想为draw函数提供一系列矩形规范,并“绘制”这些矩形——我不想真正看到矩形,我只想让一个像素数组与不同的图像进行比较。
draw
就像是
(difference (get-pixels (draw [[0 0 10 10] <more rectangles here>])) target-image-pixels)
奎尔只是这个错误的选择吗?我很难弄清楚如何在 Clojure 中实现这一点。