Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TempContainer/ToyPixelSim

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ToyPixelSim

A little toy about pixel simulation written in C++ & OpenGL. Currently, it can simulate sand, water and static wood. This is a very immature project, but sufficient for my coursework.

demo

Inspired by SandSim.

Usage

Only tested and run on Linux, haven't adapted it for Windows / MacOS.

  • F1 Water
  • F2 Sand
  • F3 Wood
  • F4 Eraser
  • MouseButton Draw / Erase

Dependencies

  • gcc (C++20 required)
  • antient OpenGL (2.0)
  • glfw
  • glm
  • CMake

Todo

  • Tidy the messy code, make it OOP.
  • Unify the behavioral motivations of all particles, reduce ad-hocs.
  • Simulate based on frame rate, not a fixed number.
  • Add more types of particles.
  • Heading towards modern OpenGL.
  • Make it parallel.

About

Pixel simulation in C++ & OpenGL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.