Giter VIP home page Giter VIP logo

dlaproject's Introduction

DLAProject

C++/CLI with C# project to create Diffusion Limited Aggregates (DLA) using fast C++ code with an interface managed by C# WPF.

Diffusion Limited Aggregrates are structures which are generated via random walking particles sticking to an initial seed structure building up a system of sticky particles with interesting properties such as fractal behaviour. This project involves creating arbitrary DLA systems on varying lattice types with different types of initial attractor seed using unmanaged (native) C++ behind the scenes wrapped with managed C++/CLI containers for use by C# code for producing a rich interface to interact with for creating aggregates.

DLAClassLibrary is the directory containing all native, unmanaged C++ code along with the managed CLI wrapper classes. The files of this class library are self-contained and independent of any external libraries and thus can be used "as-is" by any .NET application by simply adding a reference to the DLAClassLibrary CLR Project to the relevant .NET project. The native C++ code for producing aggregates is optimised for performance whilst not detracting from the quality of the simulation produced. Note that this class library code is not guaranteed to be thread-safe (not extensively tested at this point).

The directory DLAProject contains the C# code which uses DLAClassLibrary as a reference in the project. This code handles the view (i.e. GUI) related aspects of the software using a Model3DGroup with necessary applied Material and Brush instances to perform real time rendering of the aggregrate. Multi-threading is a feature of this software whereby the generation of the aggregate (performed by the behind-the-scenes C++ code) is handled by one thread and the rendering of particles in the aggregate is executed in parallel via another thread such that the real-time simulation results are shown in the application.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.