![]() In order to get some nice glowing borders and text, we can use the blurring functionality of opencv, which is also called smoothing. TL DR Skip to the Summary part below and copy the code in their respective files. The second part will talk about how this can be rendered upon a pygame surface. ![]() The first part of the solution will talk about creating a glowing border and some glowing text. In order to create the blooming / glowing effect I use the packages opencv-python (cv2) and numpy (np). I am taking the liberty of assuming that other packages besides pygame are allowed, but that the end result should be visible in pygame. ![]() Nonetheless, let's see if we can solve the problem. Well sometimes we can say it is not possible, but often times it is just not the main goal of that package.
0 Comments
Leave a Reply. |