Examples

For more examples, please refer to https://codebus.cn

Example name Description
Character Matrix The program demonstrates common drawing operations, including setting fonts, drawing lines, and so on.
Stars The program realizes the dynamic effect of two-dimensional starry sky.
Mouse operations The program demonstrates the common mouse operation, after the execution of the program will be in the mouse moving track to draw a red dot, press the left button to draw small squares, press Ctrl and left keys to draw large squares, press the right button to exit the program.
Rainbow The program is HSL color model application example, the program by adjusting the brightness of HSL model to draw the gradient of the sky, and adjusting the hue to draw seven colors of the rainbow.
(贡献者:Krissi  编辑