• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

djeedai / bevy_hanabi / 14180248739
66%

Build:
DEFAULT BRANCH: main
Ran 31 Mar 2025 08:03PM UTC
Jobs 1
Files 29
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Mar 2025 07:56PM UTC coverage: 40.116% (-0.04%) from 40.154%
14180248739

push

github

web-flow
Color changes to allow random firework colors (#437)

Change a few things to allow the `firework.rs` example to get a random
color per firework explosion:

- Add `ColorBlendMode` and `ColorBlendMask` to enable color blending,
  and allow overlaying _e.g._ a `SetAttributeModifier(Attribute::COLOR)`
  with a `ColorOverLifetimeModifier`, without the former overwriting the
  latter. The blend mode determines the blend operation, while the blend
  mask determines which components are affected in the 4D vector.
- Add a new expression to combine a 3D vector and a scalar into a 4D
  vector. This allows recombining an RGB color with an Alpha value.
- Update a different PRNG seed each frame because the GPU doesn't retain
  the PRNG state, so using the same seed each frame break randomness.

The `firework.rs` example has been updated to make use of all of this.

25 of 52 new or added lines in 4 files covered. (48.08%)

3245 of 8089 relevant lines covered (40.12%)

18.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
52.24
-0.26% src/graph/expr.rs
4
62.32
-1.23% src/spawn.rs
20
56.52
-4.0% src/modifier/output.rs
Jobs
ID Job ID Ran Files Coverage
1 14180248739.1 31 Mar 2025 08:03PM UTC 29
40.12
GitHub Action Run
Source Files on build 14180248739
  • Tree
  • List 29
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 581918cb on github
  • Prev Build on main (#14012780933)
  • Next Build on main (#14205370719)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc