{"id":13574553,"url":"https://github.com/glotzerlab/fresnel","last_synced_at":"2025-10-13T07:15:32.979Z","repository":{"id":36230709,"uuid":"147663951","full_name":"glotzerlab/fresnel","owner":"glotzerlab","description":"Publication quality path tracing in real time.","archived":false,"fork":false,"pushed_at":"2025-10-02T05:04:39.000Z","size":21489,"stargazers_count":124,"open_issues_count":1,"forks_count":7,"subscribers_count":8,"default_branch":"trunk","last_synced_at":"2025-10-02T07:08:39.559Z","etag":null,"topics":["cuda","optix","path-tracing","python","simulation","soft-matter"],"latest_commit_sha":null,"homepage":"http://fresnel.readthedocs.io","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/glotzerlab.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","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,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-09-06T11:32:21.000Z","updated_at":"2025-10-02T05:04:42.000Z","dependencies_parsed_at":"2023-02-17T05:45:50.229Z","dependency_job_id":"c77cb8b5-00a8-4a7c-8baf-fbabbf112b82","html_url":"https://github.com/glotzerlab/fresnel","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/glotzerlab/fresnel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glotzerlab%2Ffresnel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glotzerlab%2Ffresnel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glotzerlab%2Ffresnel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glotzerlab%2Ffresnel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glotzerlab","download_url":"https://codeload.github.com/glotzerlab/fresnel/tar.gz/refs/heads/trunk","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glotzerlab%2Ffresnel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279014113,"owners_count":26085461,"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-10-13T02:00:06.723Z","response_time":61,"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":["cuda","optix","path-tracing","python","simulation","soft-matter"],"created_at":"2024-08-01T15:00:52.616Z","updated_at":"2025-10-13T07:15:32.964Z","avatar_url":"https://github.com/glotzerlab.png","language":"C++","funding_links":[],"categories":["Table of Contents"],"sub_categories":["Data Visualization and Rendering"],"readme":"# fresnel\n\n**fresnel** is a python library for path tracing publication quality images of soft matter simulations in real time.\nThe fastest render performance is possible on NVIDIA GPUs using their [OptiX](https://developer.nvidia.com/optix)\nray tracing engine. **fresnel** also supports multi-core CPUs using Intel's [Embree](https://embree.github.io/)\nray tracing kernels. Path tracing enables high quality global illumination and advanced rendering effects controlled by\nintuitive parameters (like *roughness*, *specular*, and *metal*).\n\n## fresnel Community\n\nUse the [fresnel discussion board](https://github.com/glotzerlab/fresnel/discussions)\nto post questions, ask for support, and discuss potential new features.\nFile bug reports on [fresnel's issue tracker](https://github.com/glotzerlab/fresnel/issues).\n**fresnel** is an open source project. Please review\n[the contributor's guide](CONTRIBUTING.md) for more information before contributing.\n\n## Documentation\n\nRead the [tutorial and reference documentation on readthedocs](https://fresnel.readthedocs.io/). The tutorial\nis also available in Jupyter notebooks in the [fresnel-examples repository](https://github.com/glotzerlab/fresnel-examples).\n\n## Gallery\n\nHere are a few samples of what **fresnel** can do:\n\n[\u003cimg alt=\"nature chemistry cover art\" src=\"doc/gallery/protomer.png\" width=\"290\" /\u003e](https://www.nature.com/nchem/volumes/11/issues/3)\n[\u003cimg alt=\"cuboid sample\" src=\"doc/gallery/cuboid.png\" width=\"290\" /\u003e](doc/gallery/cuboid.py)\n[\u003cimg alt=\"sphere sample\" src=\"doc/gallery/sphere.png\" width=\"290\" /\u003e](doc/gallery/sphere.py)\n\n## Installing fresnel\n\nSee the [installation guide](INSTALLING.rst) for details on installing fresnel with conda, docker, singularity,\nand compiling from source.\n\n## Example\n\nThis script generates the spheres gallery image:\n\n```python\nimport fresnel, numpy, PIL\n\ndata = numpy.load('spheres.npz')\n\nscene = fresnel.Scene()\nscene.lights = fresnel.light.cloudy()\n\ngeometry = fresnel.geometry.Sphere(\n    scene,\n    position = data['position'],\n    radius = 0.5,\n    outline_width = 0.1)\n\ngeometry.material = fresnel.material.Material(\n    color = fresnel.color.linear([0.1, 0.8, 0.1]),\n    roughness = 0.8,\n    specular = 0.2)\n\nout = fresnel.pathtrace(scene, samples=64,\n                        light_samples=32,\n                        w=580, h=580)\nPIL.Image.fromarray(out[:], mode='RGBA').save('sphere.png')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglotzerlab%2Ffresnel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglotzerlab%2Ffresnel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglotzerlab%2Ffresnel/lists"}