{"id":16897459,"url":"https://github.com/rogerallen/smandelbrotr","last_synced_at":"2026-03-08T22:32:29.765Z","repository":{"id":143405520,"uuid":"192671154","full_name":"rogerallen/smandelbrotr","owner":"rogerallen","description":"SDL2 CUDA OpenGL Mandelbrot explorer.","archived":false,"fork":false,"pushed_at":"2020-09-30T05:27:21.000Z","size":4898,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T07:15:03.899Z","etag":null,"topics":["cuda","mandelbrot-viewer","opengl","sdl2"],"latest_commit_sha":null,"homepage":null,"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/rogerallen.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":"2019-06-19T06:21:16.000Z","updated_at":"2024-09-03T05:09:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"c5111448-bd27-428c-9cd2-77944bd9b8b0","html_url":"https://github.com/rogerallen/smandelbrotr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rogerallen/smandelbrotr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerallen%2Fsmandelbrotr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerallen%2Fsmandelbrotr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerallen%2Fsmandelbrotr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerallen%2Fsmandelbrotr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rogerallen","download_url":"https://codeload.github.com/rogerallen/smandelbrotr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rogerallen%2Fsmandelbrotr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30275545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cuda","mandelbrot-viewer","opengl","sdl2"],"created_at":"2024-10-13T17:37:19.564Z","updated_at":"2026-03-08T22:32:29.739Z","avatar_url":"https://github.com/rogerallen.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SMandelbrotr\n\nA [Mandelbrot set](https://en.wikipedia.org/wiki/Mandelbrot_set) pan/zoom application powered via [SDL2](https://www.libsdl.org/), [CUDA](https://developer.nvidia.com/cuda-zone), [OpenGL](https://www.opengl.org/) (via [GLEW](http://glew.sourceforge.net/) and [GLM](https://glm.g-truc.net/)) and [ImGUI](https://github.com/ocornut/imgui).  \n\n![Screenshot](screenshot1.jpg)\n\n## Building\n\nRequires [Cmake](https://cmake.org/) \n\n### Windows\n\nTested to work with Visual Studio 2017 both Community \u0026 Enterprise editions with the CMake extras installed.\n\nOriginally derived from https://trenki2.github.io/blog/2017/06/02/using-sdl2-with-cmake/  (Thanks!)\n\nCmake now downloads SDL2, GLEW, GLM and IMGUI, so Visual Studio CMake build \u0026 Project build and you should be good.\n\n### Linux\n\nYou'll need a more recent version of cmake than Ubuntu 16.04 comes with.  Google for how to install that.\n\n`sudo apt-get install cmake libsdl2-dev libglew-dev`\nthen\n```\nmkdir Debug\ncd Debug\ncmake -DCMAKE_BUILD_TYPE=Debug ..\nmake\n```\nor\n```\nmkdir Release\ncd Release\ncmake -DCMAKE_BUILD_TYPE=Release ..\nmake\n```\n\n## Usage\n\nAn [NVIDIA](https://www.nvidia.com/) graphics card is required.  If you have a laptop with hybrid graphics, use the NVIDIA Control Panel's Manage 3D Settings panel and Program Settings tab to make Java choose the \"High-performance NVIDIA processor\".\n\nMaking the window smaller will speed up the calculations.\n\n```\noptions:\n  -d N    - select cuda device number N. (default = 0)\n  -p PATH - path to shaders \u0026 compute kernel. (default = '.')\n  -h      - this message.\n```\n\nTo avoid setting commandline options, run this from the source directory like `./Release/smandelbrotr` \n\n### Mouse \n\nLeft click to pan.\nMiddle scroll wheel to zoom.\n\n### Key Bindings\n\n* __ESC__: quit\n* __TAB__: show/hide information window\n* __d/s__: (d)ouble or (s)ingle floating point precision math.  Single is default.  It is faster \u0026 less precise.\n* __f__: switch to/from (f)ullscreen.\n* __enter__: begin zoom out mode.  animates un-zooming.\n* __1/2/3/4__: allow for N times 256 levels for determining whether in/out of mandelbrot set.\n* __p__: (p)rint out some state.\n* __w__: (w)rite out current screen to \"save.bmp\" -- careful, it will overwrite existing files.\n\nEnjoy the old-school keyboard shortcuts and lack of a real GUI, it builds character.\n\n## License\n\nSince I cobbled this code together basically by stringing existing example code together, I'll be giving this back to the community.\n\n\u003cp xmlns:dct=\"http://purl.org/dc/terms/\" xmlns:vcard=\"http://www.w3.org/2001/vcard-rdf/3.0#\"\u003e\n  \u003ca rel=\"license\"\n     href=\"http://creativecommons.org/publicdomain/zero/1.0/\"\u003e\n    \u003cimg src=\"http://i.creativecommons.org/p/zero/1.0/88x31.png\" style=\"border-style: none;\" alt=\"CC0\" /\u003e\n  \u003c/a\u003e\n  \u003cbr /\u003e\n  To the extent possible under law,\n  \u003ca rel=\"dct:publisher\"\n     href=\"https://github.com/rogerallen/smandelbrotr\"\u003e\n    \u003cspan property=\"dct:title\"\u003eRoger Allen\u003c/span\u003e\u003c/a\u003e\n  has waived all copyright and related or neighboring rights to\n  \u003cspan property=\"dct:title\"\u003eSMandelbrotr\u003c/span\u003e.\nThis work is published from:\n\u003cspan property=\"vcard:Country\" datatype=\"dct:ISO3166\"\n      content=\"US\" about=\"https://github.com/rogerallen/smandelbrotr\"\u003e\n  United States\u003c/span\u003e.\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogerallen%2Fsmandelbrotr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogerallen%2Fsmandelbrotr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogerallen%2Fsmandelbrotr/lists"}