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

djeedai / bevy_hanabi / 8396839848
66%

Build:
DEFAULT BRANCH: main
Ran 22 Mar 2024 09:58PM UTC
Jobs 1
Files 28
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

22 Mar 2024 09:52PM UTC coverage: 52.419% (-0.4%) from 52.807%
8396839848

push

github

web-flow
Implement simple ribbon rendering. (#298)

This adds a new render modifier, the `RibbonModifier`. When it's
present, quads are drawn between particles that are part of a trail
created with the `CloneModifier`, instead of directly at the particle
locations.

Internally, particles are threaded into a doubly linked list, with the
`PREV` and `NEXT` attributes. I chose a linked list over fixed-size
trails like the Unity VFX graph uses because (a) during ribbon
rendering, a particle only needs to know the positions of its immediate
neighbors; (b) linked lists better support variable-length trails. We
need a doubly linked list instead of a singly linked list because (a)
more sophisticated ribbon rendering will want to know about both the
next and previous particles in order to implement line joins properly;
(b) a singly linked list has difficulty dealing with dangling pointers
to dead particles.

Each ribbon quad is initially oriented toward the average normal
(`nlerp`) of the two particles that define it, modulo Gram-Schmidt
normalization. Eventually, ribbon quads should be extended to support
meshes with line joins, as well as perhaps curves, but the current
approach should do for an initial implementation.

A new example, `ribbon`, has been added.

1 of 47 new or added lines in 3 files covered. (2.13%)

3077 of 5870 relevant lines covered (52.42%)

22.68 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8396839848.1 22 Mar 2024 09:58PM UTC 0
52.42
GitHub Action Run
Source Files on build 8396839848
Detailed source file information is not available for this build.
  • Back to Repo
  • be526afc on github
  • Prev Build on main (#8396751386)
  • Next Build on main (#8396852802)
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