johanvts / emacs-fireplace

A cozy fireplace for emacs.
729 stars 21 forks source link

Smoke sometimes intersects the flame #19

Open ndetommaso opened 8 years ago

ndetommaso commented 8 years ago

When the smoke is on, sometimes the particles will be layered on top of the flame. This would be fine, except that the smoke maintains the dark background, effectively cutting a hole into the flame.

johanvts commented 8 years ago

I have been thinking about how to fix this and most of my ideas would require a rewrite to handle the drawing of smoke globally on a pr. fireplace basis rather than the current pr. flame method. However I think I have found a fix that would be much easier to implement: Sample and reuse the current face background when drawing the smoke. However this might effect performance.