tline-GFX for practice and understanding.
https://www.lexaloffle.com/bbs/?tid=147597
I will share the code used in this post to implement it step by step.
Coding the ideal effect all at once can be complicated and difficult to implement.
Isolating all the elements and solving them one by one will bring you closer to your goal.
Step1
Draw one line from top to bottom with tline().

Step2
Shift the reference y coordinate so that it scrolls from bottom to top.

Step3
Stretch the bottom edge to the same size as the screen, and stretch the top edge to twice that size.

Step4
Slide it to the left to adjust it to a trapezoid.

Step5
Stretch display height.

Step6
Combine all the steps.

[Please log in to post a comment]