The Thirty-Six Questions of C Language: The Celestial Mechanism Star

The Thirty-Six Questions of C Language: The Celestial Mechanism Star

Task: Draw the standard national flag (outline diagram).The Flag Law of the People’s Republic of China: The national flag of the People’s Republic of China is the Five-Star Red Flag. The national flag is a symbol and sign of the People’s Republic of China. Every citizen and organization should respect and cherish the national flag.In … Read more

C Language Animation: Encountering the Rainbow

C Language Animation: Encountering the Rainbow

Good luck! Encountering a rainbow signifies a turning point and rebirth after difficulties, and beauty is about to arrive. The seven colors of the rainbow, from the outside to the inside, are red, orange, yellow, green, blue, indigo, and violet. This order is fixed and is formed by the refraction and reflection of sunlight through … Read more

Fun Programming with Python: Drawing a Star with Code

Fun Programming with Python: Drawing a Star with Code

In the world of programming, Python is not only a powerful tool language but also an excellent partner for creative endeavors.Today, let us embark on this creative journey together, using Python code to draw a beautiful star and experience the unique spark that arises from the collision of programming and art! We need to install … Read more

C Language Animation: Spinning Circles | Water Ripple Effect

C Language Animation: Spinning Circles | Water Ripple Effect

Drawing water ripples in C language: This is a static image captured during runtime, but it is actually animated. After running the code, each circle on the left and right continuously spins and expands, resembling the rippling effect of water. Please see the video effect at the bottom.Main idea: Set the origin coordinates, divide into … Read more

Running WindML Graphics Demo on VxWorks 7: A Detailed Guide

Running WindML Graphics Demo on VxWorks 7: A Detailed Guide

VxWorks is a leading real-time operating system (RTOS) developed by Wind River Systems, widely used in embedded systems that require deterministic performance. With the release of VxWorks 7, the operating system has been redesigned with a focus on modularity, scalability, and support for modern hardware, including advanced graphics capabilities. Although WindML (a graphics library common … Read more

C++ Tutorial – Detailed Explanation of Snake Game Code

C++ Tutorial - Detailed Explanation of Snake Game Code

In this article, we will create a Snake game using C++ and graphic functions. We will implement it using the concept of C++ classes and computer graphic functions. What is the Snake Game? The Snake game is a very famous game that can be played on various devices and runs on any operating system. In … Read more

Creating Holiday Greeting Cards with Python and Pillow

Creating Holiday Greeting Cards with Python and Pillow

Last week, my mom suddenly asked me, “Son, do you remember tomorrow is your aunt’s birthday?” I slapped my forehead and completely forgot about it! My aunt lives in another city, and we don’t keep in touch often, but every year on her birthday, she sends me red envelopes. I can’t afford to be rude … Read more

Create Cool Graphics with Python

Create Cool Graphics with Python

Sometimes, writing code doesn’t always have to be about complex data analysis or websites.You can also use Python to draw! Isn’t that a bit cool? Today, let’s use Python to draw a few simple and beautiful graphics. Although they look like works of art, they actually only require a few lines of code. We’ll talk … Read more

Essential Matlab Plotting Functions You Should Know

Essential Matlab Plotting Functions You Should Know

How Many Plotting Functions Do You Know? As we all know, MATLAB is not only good at handling numerical calculations related to matrices, but it also has a deep foundation in scientific visualization. The numerous rich functions it provides can well meet our various needs for using graphics to display numerical information. MATLAB has the … Read more

Implementing Partial Screen Clear on LCD

Implementing Partial Screen Clear on LCD

Graphic Control Uncle Composition conveys ideas Reading has never been this easy!!! 01 Introduction When developing multifunctional applications for an LCD screen, there are times when you need to clear the screen. Clearing can be done in two ways: full screen clear and partial screen clear. Today, I will document the code for partial screen … Read more