Posts for: #Graphics

Graphical Effects with Python, Tkinter, Cython, and Numba

Yesterday, Saturday, I felt like creating a flame effect (fire) in Python. This effect was quite popular in the early 90s. I remembered that the algorithm was quite simple, but there were some tricks to do with the color palette.

I found this article with the implementation in C: https://lodev.org/cgtutor/fire.html

From the same article, we can get an idea of how the effect looks:

Flame Effect

After reading the article and watching some videos on YouTube, I faced two problems:

Read more

Graphical Effects with Python, Tkinter, Cython, and Numba

Yesterday, Saturday, I felt like creating a flame effect (fire) in Python. This effect was quite popular in the early 90s. I remembered that the algorithm was quite simple, but there were some tricks to do with the color palette.

I found this article with the implementation in C: https://lodev.org/cgtutor/fire.html

From the same article, we can get an idea of how the effect looks:

Flame Effect

After reading the article and watching some videos on YouTube, I faced two problems:

Read more