Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
这段代码其实就是写了一个算法,画出了一个渐变色图像。
其实只要会用draw_line()这个函数就可以了。