Use the parallel processing power of your GPU to simulate a simple chemical system that exhibits emergent behaviors

cross-posted from: https://lemmy.pierre-couy.fr/post/678825

Hi ! I’ve been working on this article for the past few days. It would mean a lot to me if you could provide some feedback.

It is about implementing a physico-chemical simulation as my first attempt to write a shader. The code is surprisingly simple and short (less than 100 lines). The “Prerequisite” and “Update rules” sections, however, may need some adjustments to make them clearer.

Thanks for reading

General Programming Discussion
!programming@lemmy.ml

    A general programming discussion community.

    Rules:

    1. Be civil.
    2. Please start discussions that spark conversation

    Other communities

    Systems

    Functional Programming

    Also related

    • 0 users online
    • 9 users / day
    • 11 users / week
    • 21 users / month
    • 117 users / 6 months
    • 1 subscriber
    • 336 Posts
    • 622 Comments
    • Modlog