{"id":23495592,"url":"https://github.com/ythea/repulsive-surfaces","last_synced_at":"2025-08-27T20:31:44.757Z","repository":{"id":43699368,"uuid":"238978854","full_name":"ythea/repulsive-surfaces","owner":"ythea","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-10T01:19:40.000Z","size":14785,"stargazers_count":76,"open_issues_count":1,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-15T10:06:13.563Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Mathematica","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ythea.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2020-02-07T16:52:30.000Z","updated_at":"2025-06-03T07:38:36.000Z","dependencies_parsed_at":"2024-02-23T05:42:50.315Z","dependency_job_id":null,"html_url":"https://github.com/ythea/repulsive-surfaces","commit_stats":null,"previous_names":["chrisyu-cs/repulsive-surfaces","ythea/repulsive-surfaces","icethrush/repulsive-surfaces"],"tags_count":0,"template":false,"template_full_name":"nmwsharp/gc-polyscope-project-template","purl":"pkg:github/ythea/repulsive-surfaces","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ythea%2Frepulsive-surfaces","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ythea%2Frepulsive-surfaces/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ythea%2Frepulsive-surfaces/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ythea%2Frepulsive-surfaces/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ythea","download_url":"https://codeload.github.com/ythea/repulsive-surfaces/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ythea%2Frepulsive-surfaces/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272376052,"owners_count":24923684,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-12-25T04:01:02.692Z","updated_at":"2025-08-27T20:31:44.751Z","avatar_url":"https://github.com/ythea.png","language":"Mathematica","funding_links":[],"categories":["Table of Contents"],"sub_categories":["Mathematics and Science"],"readme":"# Repulsive Surfaces\nChristopher Yu, Caleb Brakensiek, Henrik Schumacher, Keenan Crane\n\n## Quick setup instructions\n\nFirst, clone the project and all its dependencies:\neither via https (password login)\n```\ngit clone --recursive https://github.com/chrisyu-cs/repulsive-surfaces.git\n```\nor via ssh (passwordless login -- needs ssh keys to be set up with github)\n```\ngit clone --recursive git@github.com:chrisyu-cs/repulsive-surfaces.git\n```\n\nIf the recursive flag was not used to clone, then one can also get the dependencies by running:\n```\ngit submodule update --init --recursive\n```\n\nTo set environment variables for the MKL, please run the setvars.[bat|sh] script. For example, with oneMKL and on a unixoid operating system, one can do this with\n```\nsource /opt/intel/oneapi/setvars.sh\n```\n(This sets the environment variables one for one terminal session. You may want to add the above line to your ~/.profile, ~/.bashrc, or ~/.zshrc.)\n\nFrom there, the project can be built using CMake.\n```\ncd repulsive-surfaces\nmkdir build\ncd build\ncmake ..\nmake -j4\n```\nWe used Clang to compile the codebase during development, but GCC/G++ should also work, though depending on the version it may emit some different warnings.\n\nThe code can then be run:\n```\n./bin/rsurfaces path/to/scene.txt --threads 1\n```\nThe executable can also be invoked directly on a mesh OBJ, which will initialize an energy with some default settings. But complex scenes such as those shown in the paper should be defined using a scene file. For instructions on how to set up a scene file, see `scenes/FORMAT.txt`. Example scenes can also be found in the subdirectories in `scenes/`. I recommend adding the `--threads 1` flag to run the program singlethreaded, as there appear to be some concurrency issues that can cause problems when running multithreaded on some platforms.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fythea%2Frepulsive-surfaces","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fythea%2Frepulsive-surfaces","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fythea%2Frepulsive-surfaces/lists"}