{"id":15384874,"url":"https://github.com/bblodfon/skylighting-web-app","last_synced_at":"2026-05-17T02:42:59.627Z","repository":{"id":32821698,"uuid":"36414601","full_name":"bblodfon/skylighting-web-app","owner":"bblodfon","description":"My thesis code for the MSc in AUEB","archived":false,"fork":false,"pushed_at":"2021-09-20T12:28:28.000Z","size":21736,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T22:45:16.889Z","etag":null,"topics":["javascript","skylight","three-js","webgl"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bblodfon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-28T04:26:01.000Z","updated_at":"2021-09-20T12:28:31.000Z","dependencies_parsed_at":"2022-09-23T16:11:09.363Z","dependency_job_id":null,"html_url":"https://github.com/bblodfon/skylighting-web-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bblodfon/skylighting-web-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblodfon%2Fskylighting-web-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblodfon%2Fskylighting-web-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblodfon%2Fskylighting-web-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblodfon%2Fskylighting-web-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bblodfon","download_url":"https://codeload.github.com/bblodfon/skylighting-web-app/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bblodfon%2Fskylighting-web-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274300178,"owners_count":25259716,"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-09-09T02:00:10.223Z","response_time":80,"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":["javascript","skylight","three-js","webgl"],"created_at":"2024-10-01T14:43:31.088Z","updated_at":"2025-10-27T02:03:48.861Z","avatar_url":"https://github.com/bblodfon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# skylighting-web-app\n\nMy thesis code for the MSc in AUEB (Athen University of Economics and Business)\n\n## Abstract\n\nIn this thesis we study and briefly examine different skylight models that have been proposed by the scientific community and we analyze a more recent one which provides an analytic model for full-Spectral Sky-Dome Radiance. This model is used to implement a web-based application which takes input from the user and draws a scene on a canvas element using the JavaScript 3D library `three.js.` This scene includes a basic 3D-model, a ground plane, the sky Dome, the Sun and the light sources that represent the radiance of the sky. A full explanation is provided for the source code and the functionality of each component of the Web-application as well as some screenshots of the scene, showing different instances of the sky dome and the 3D-model while changing the turbidity, the ground albedo value as well as the solar elevation.\n\n## Install and Run\n\nThe following installation is based on the web-server `Apache 2.4.18` and `PHP 7.0.30`.\n\n- Copy the *skymodel* directory to */var/www/html*\n- Create the **dome_points** executable by running inside the *dome_points* directory:\n```\ngcc -std=c99 dome_points.c ArHosekSkyModel.c -o dome_points -lm\ncp dome_points /var/www/html/skymodel/\n```\n- Browse to `http://localhost/skymodel/skydome.html`\n\n### Notes\n\n- The Demo function re-draws the scene every second (bad practice :) and since the loading of some 3D models takes more than 4 secs (the dinosaur for example), you will see nothing more than black screen on these occasions (more info on the document). \n- The code the loads the models and the ground material is very old and sometimes it doesn't show what is expected to, after I upgraded the `three.js` library to the $94$ version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbblodfon%2Fskylighting-web-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbblodfon%2Fskylighting-web-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbblodfon%2Fskylighting-web-app/lists"}