# Sparkfire pattern doesn't work

**URL:** <https://forum.electromage.com/t/sparkfire-pattern-doesnt-work/416>\
**Category:** Troubleshooting\
**Created:** [June 17, 2020, 7:55pm UTC](https://forum.electromage.com/t/sparkfire-pattern-doesnt-work/416 "2020-06-17T19:55:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![KanyonKris](https://forum.electromage.com/user_avatar/forum.electromage.com/kanyonkris/32/265_2.png) [@KanyonKris](https://forum.electromage.com/u/KanyonKris)\
**Post date:** [June 17, 2020, 7:55pm UTC](https://forum.electromage.com/t/sparkfire-pattern-doesnt-work/416/1 "2020-06-17T19:55:12Z")

</div>

The sparkfire pattern doesn’t work for me.  
I’m running a strip of 60 APA102 LEDs on the latest PixelBlaze 2.23. All other patterns I’ve tried work fine.

---

<div class="post-metadata">

**Author:** ![jeff](https://forum.electromage.com/user_avatar/forum.electromage.com/jeff/32/3473_2.png) [@jeff](https://forum.electromage.com/u/jeff)\
**Post date:** [June 17, 2020, 8:21pm UTC](https://forum.electromage.com/t/sparkfire-pattern-doesnt-work/416/2 "2020-06-17T20:21:45Z")

</div>

Hey!

I’m guessing you’re seeing a mostly white output? I’ve noticed that pattern can be fairly dependent on total number of pixels. It’s default settings seem to look best on 240 pixel strips.

For 60 pixels, try these settings:

```javascript
numSparks = 4 // Default is 5
accel = .03
speed = .05
cooling1 = .1 // subtractive cooling, default was 0.04
cooling2 = .9 // coefficient cooling, default was 0.99

```

---

<div class="post-metadata">

**Author:** ![KanyonKris](https://forum.electromage.com/user_avatar/forum.electromage.com/kanyonkris/32/265_2.png) [@KanyonKris](https://forum.electromage.com/u/KanyonKris)\
**Post date:** [June 17, 2020, 8:40pm UTC](https://forum.electromage.com/t/sparkfire-pattern-doesnt-work/416/3 "2020-06-17T20:40:14Z")

</div>

@jeff that fixed it, thanks!
