{"id":26391339,"url":"https://github.com/konrad-kubacki/px_particles","last_synced_at":"2025-03-17T10:19:35.646Z","repository":{"id":170967130,"uuid":"306953322","full_name":"konrad-kubacki/px_particles","owner":"konrad-kubacki","description":"Basic particles on the screen using OpenGL and C++.","archived":false,"fork":false,"pushed_at":"2020-10-27T09:51:47.000Z","size":4878,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T21:20:29.800Z","etag":null,"topics":["cpp","opengl","particles","simd"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/konrad-kubacki.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-24T19:09:51.000Z","updated_at":"2020-12-16T14:54:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"026290c6-ebd6-4ee8-b9d0-6f6537e940b5","html_url":"https://github.com/konrad-kubacki/px_particles","commit_stats":null,"previous_names":["condzi/px_particles","konrad-kubacki/px_particles"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konrad-kubacki%2Fpx_particles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konrad-kubacki%2Fpx_particles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konrad-kubacki%2Fpx_particles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/konrad-kubacki%2Fpx_particles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/konrad-kubacki","download_url":"https://codeload.github.com/konrad-kubacki/px_particles/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244014166,"owners_count":20383716,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","opengl","particles","simd"],"created_at":"2025-03-17T10:19:27.977Z","updated_at":"2025-03-17T10:19:34.168Z","avatar_url":"https://github.com/konrad-kubacki.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenGL + SIMD + C++\n## v1.0\nIt's a test project. Main purpose is to play with SIMD (Single Instruction Multiple Data). I'm using [vectorclass](https://github.com/vectorclass) library for SIMD, [SFML](https://github.com/sfml/sfml) for Window creation and input handling. \n# **Usage**\nUse *left mouse button* to attract particles towards it. Hold *left shift* to attract them continuously. Use *R* key to reset the particles.\n# **Command line arguments**\n`-arg_name=value`, for example `-win_w=1280 -win_h=720`.\n| argument  |  description | default value |\n| :-  |  :- | :- |\n| win_w  | window width, has to be divisible by 4 | 800 |\n| win_h  | window height | 600 |\n| fps  | FPS limit | 0 (no limit) |\n| alignment  | alignment of particles memory, has to be power of 2 | 32 |\n| pulse_demo | are we running the pulsating demo mode? Interaction is disabled in pulse mode. | 0 (non-zero means yes) |\n| pulse_min | minimum pulse time, in milliseconds | 100 |\n| pulse_max | maximum pulse time, in milliseconds | 900 |\n| use_lines | use GL_LINE_LOOP instead of GL_POINTS, gives a cool effect | 0 (non-zero means yes) |\n\n\n# Compiling\nJust open the .sln using Visual Studio 2019 and compile. Binaries will in the `_binaries` folder.\n\n# [Lines demo](https://youtu.be/ypdq5brqjEE)\n# [Pulse demo](https://youtu.be/V5rohV-xLDM)\n# [Clicking demo](https://youtu.be/A0FwfGXOCbs)\n# Screens\nJust note that the coolset thing about this program is that particles move really fast. It's hard to catch the fun stuff on still images. \n## Lines mode:\n![](_img/ss_lines.png)\n## Pulsating particles mode:\n![](_img/ss_0.png)\n## Following screenshots were captured in a 1000x1000 window, 1 milion particles, clicking mode.\n![](_img/ss_1.png)\n![](_img/ss_2.png)\n![](_img/ss_3.png)\n![](_img/ss_4.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonrad-kubacki%2Fpx_particles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkonrad-kubacki%2Fpx_particles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkonrad-kubacki%2Fpx_particles/lists"}