8000 GitHub - pablogsal/cuda_lenia: A CUDA/OpenGL simulation for Lenia particles
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pablogsal/cuda_lenia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lenia particle simulation

This is a project for simulating Lenia particles using CUDA and OpenGL. The simulation involves particles interacting with each other via the Lenia potential The simulation is visualized using OpenGL.

Table of Contents

Introduction

The Lenia simulation project is a GPU-accelerated simulation that models the behavior of particles in a 2D environment. The simulation calculates the particle interactions over time, producing a visual representation of the system.

Prerequisites

Before running the simulation, ensure you have the following prerequisites installed:

  • OpenGL - for rendering the simulation graphics.
  • GLEW - the OpenGL Extension Wrangler Library.
  • freeglut - an open-source alternative to the GLUT library for creating and managing windows.
  • CUDA - the NVIDIA GPU computing platform.

Getting Started

To get started with the Heat Equation Simulation, follow these steps:

  1. Clone this repository:

    git clone git@github.com:pablogsal/cuda_lenia.git
  2. Navigate to the project directory:

    cd cuda_lenia
  3. Build the project using a CMake. Make sure to link the necessary libraries (OpenGL, GLEW, CUDA).

    mkdir build
    cd build
    cmake ..
    make
  4. Run the compiled executable:

    ./lenia_particles

Usage

  • Upon running the simulation, a window will appear showing the evolving of the particles.
  • The simulation will continue until you close the window or terminate the program.
  • You can adjust simulation parameters and initial conditions in the main function, such as the number of particles, simulation size, and simulation constants.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A CUDA/OpenGL simulation for Lenia particles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0