Giter Site home page Giter Site logo

xaknitram / ultimateflox Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 2.39 MB

2D flocking simulation using GLFW and Glad used to learn C++ optimization.

License: MIT License

CMake 2.63% GLSL 3.29% C++ 93.22% Python 0.50% Lua 0.35%
simulation glfw flocking-simulation boids boids-algorithm boids-behaviour boids-simulation flocking flocking-algorithm flocking-boids

ultimateflox's Introduction

UltimateFlox

2D flocking simulation using GLFW, Glad, and GLM - your very own bird box.

Use the 1 key to switch to filled rendering mode. Pressing again will cycle through pre-defined colors.
Use the 2 key to switch to classic rendering mode. Pressing again will cycle through pre-defined colors.
Use the b key to toggle display of the boids.
Use the v key to toggle display of the vision radii.
Use the q key to toggle display of the quadtree (lines).
Use the c key to toggle display of the quadtree (color).
Use the s key to toggle speed debug vision mode.
Use the Space key to pause the simulation.
Use the Esc key to exit.

flox.lua is provided in the Data/Scripts directory to configure the application. The program will continue to work without this file.

ultimateflox's People

Contributors

xaknitram avatar

Watchers

 avatar

Forkers

meowboy326

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.