{"id":28400259,"url":"https://github.com/actor-framework/fractal-demo","last_synced_at":"2025-06-28T09:31:52.660Z","repository":{"id":4575523,"uuid":"5717147","full_name":"actor-framework/fractal-demo","owner":"actor-framework","description":null,"archived":false,"fork":false,"pushed_at":"2015-12-09T13:23:37.000Z","size":2582,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-06-24T10:58:47.499Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":false,"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/actor-framework.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}},"created_at":"2012-09-07T13:27:07.000Z","updated_at":"2022-02-25T09:35:13.000Z","dependencies_parsed_at":"2022-09-21T18:12:21.578Z","dependency_job_id":null,"html_url":"https://github.com/actor-framework/fractal-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/actor-framework/fractal-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actor-framework%2Ffractal-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actor-framework%2Ffractal-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actor-framework%2Ffractal-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actor-framework%2Ffractal-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actor-framework","download_url":"https://codeload.github.com/actor-framework/fractal-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actor-framework%2Ffractal-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262406161,"owners_count":23306091,"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":[],"created_at":"2025-06-01T09:38:29.418Z","updated_at":"2025-06-28T09:31:52.654Z","avatar_url":"https://github.com/actor-framework.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"fractal-demo\n============\n\nfractal-demo is a distributed fractal-calculator based on OpenCL, [Qt 4](http://qt.nokia.com/) and [CAF](https://github.com/actor-framework/actor-framework). Controll unit, calculation units and server/screen unit are distributed. OpenCL allows the usage of GPUs.\n\nScreenshots\n-----------\n\n__Mandelbrot__\n![ScreenShot](https://raw.github.com/josephnoir/fractal-cppa/master/screenshots/1-mandelbrot.png \"Mandelbrot set\")\n![ScreenShot](https://raw.github.com/josephnoir/fractal-cppa/master/screenshots/2-mandelbrot.png \"Mandelbrot set\")\n\n__Burning Ship__\n![ScreenShot](https://raw.github.com/josephnoir/fractal-cppa/master/screenshots/3-burnship.png \"Burning ship\")\n![ScreenShot](https://raw.github.com/josephnoir/fractal-cppa/master/screenshots/4-burnship.png \"Burning ship\")\n\nDependencies\n------------\n\nSince Qt is used as a GUI make sure cmake finds the Qt bin.\n\n* __CAF__: [CAF](https://github.com/actor-framework/actor-framework)\n* __Qt__: [qt.nokia.com](http://qt.nokia.com/)\n\nCompiler\n--------\n\n* GCC \u003e= 4.8\n\nGet the source\n--------------\n\n    git clone https://github.com/actor-framework/fractal-demo.git\n    cd fractal-demo\n\nBuild the apps\n--------------\n\n    ./configure\n    make\n\nCmake needs to find qt. If it does not by default, add the qt bin directory to your PATH.\n    \n    export PATH=\u003cPATH_TO_SDK\u003e/QtSDK/Desktop/Qt/4.8.1/gcc/bin/:$PATH\n\nIt is possibile to use OpenCL for the calculation. To do this you need to compile libcppa and\nthis project with the OpenCL option.\n\n    ./configure --with-opencl\n    make\n\nUsage:\n------\n\nfractal-demo allows you two ways to make a connection between worker and server. \n* Workers are published first and than the server gets with `-n domain:port` the location of published workers.\n* Server starts first and workers connect with `-H server_domain:port` to the server.\n\nIn this example the second point is shown.\nTo calculate, controll and server on one computer without openCL:\n\n    # Terminal 1\n    # start server and publish at port 7000\n    .build/bin/fractal-demo -s -p 7000\n\n    # Terminal 2\n    # publish two workers (CPU) on port 7000 of your client.\n    .build/bin/fractal-demo -w 2 -H localhost:7000\n    \n    # Terminal 3\n    # start controller with server on localhost\n    .build/bin/fractal-demo -c -H localhost\n\nNote: Of course you can start everything in one terminal. To do this, append `\u0026` to end of each command. If you want to quit them all you can just type: `killall fractal-cppa`.\n\nIn case you want to enable OpenCL, add the -o flag to client start.\n\n    .build/bin/fractal-demo -w 2 -H localhost:7000 -o\n\nAs above-mentioned, fractal-demo is distributed. That means, you can split up each terminal on diffrent computer and add even more workers trough diffrent computer. \n\nOperating Systems\n-----------------\n\nTested on OSX, and Linux.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factor-framework%2Ffractal-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factor-framework%2Ffractal-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factor-framework%2Ffractal-demo/lists"}