Skip to content

Commit f16cbcc

Browse files
authored
N38: Add Particular section and gif (#1167)
1 parent 8cda405 commit f16cbcc

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

content/news/038/index.md

+32
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,38 @@ The above screen shows an example of controlling a custom made audio source
272272
[bevy_oddio_02]: https://github.com/harudagondi/bevy_oddio/releases/tag/v0.2.0
273273
[bevy_fundsp_example]: https://github.com/harudagondi/bevy_fundsp/blob/ca08963820c83dd723784db6c6f87df8eadd60e0/examples/oddio/controlled.rs#L40-L52
274274

275+
### [Particular]
276+
277+
![showcase using the demo](particular.gif)
278+
_Showcase using the [demo]_
279+
280+
[Particular] by [@Canleskis] is a library allowing for simulations of
281+
N-body gravitational interaction of particles. It aims to be simple
282+
to integrate in existing game and physics engines, such as [Bevy] or [Rapier].
283+
See the [demo source code] for the example of an integration (less than 50
284+
actual lines of code!).
285+
The [demo] is available on the browser (Chromium-based recommended)
286+
with various scenes you can interact with.
287+
288+
Particular can be used with [rayon] to leverage multithreading on the
289+
CPU (`parallel` feature). Although the current algorithm performs well enough
290+
for most use cases, with a single frame taking around 5 ms with 5000 particles
291+
on an I9 9900K, future updates will introduce other implementations to allow for
292+
faster computation of the forces (example: [Barnes-Hut]).
293+
294+
You can find more about Particular with
295+
[this video](https://www.youtube.com/watch?v=oFrq9ckHoN8&) from
296+
[@ChristopherBiscardi](https://github.com/ChristopherBiscardi), or
297+
[this post](https://www.reddit.com/r/rust/comments/x7uhoq/media_particular_a_simple_library_for_nbody/)
298+
on Reddit.
299+
300+
[Particular]: https://github.com/Canleskis/particular
301+
[demo]: https://canleskis.github.io/bevy-particular-demo/
302+
[demo source code]: https://github.com/Canleskis/bevy-particular-demo/blob/main/src/nbody.rs
303+
[@Canleskis]: https://github.com/Canleskis
304+
[rayon]: https://github.com/rayon-rs/rayon
305+
[Barnes-Hut]: https://en.wikipedia.org/wiki/Barnes%E2%80%93Hut_simulation
306+
275307
## Popular Workgroup Issues in Github
276308

277309
<!-- Up to 10 links to interesting issues -->

content/news/038/particular.gif

2.3 MB
Loading

0 commit comments

Comments
 (0)