{"id":13663640,"url":"https://github.com/Scrawk/Phillips-Ocean","last_synced_at":"2025-04-25T17:32:11.436Z","repository":{"id":87590358,"uuid":"94954482","full_name":"Scrawk/Phillips-Ocean","owner":"Scrawk","description":"A ocean using Phillips spectrum in Unity","archived":false,"fork":false,"pushed_at":"2022-01-30T05:28:53.000Z","size":351,"stargazers_count":271,"open_issues_count":0,"forks_count":40,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-08-03T05:19:05.481Z","etag":null,"topics":["fluid-simulation","ocean","unity"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/Scrawk.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}},"created_at":"2017-06-21T02:28:11.000Z","updated_at":"2024-07-21T19:46:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"2aeb3954-e34d-4d99-8460-b50a478656e9","html_url":"https://github.com/Scrawk/Phillips-Ocean","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.25,"last_synced_commit":"bb77827877cce4ed68afebd8593ea636bbadb35d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrawk%2FPhillips-Ocean","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrawk%2FPhillips-Ocean/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrawk%2FPhillips-Ocean/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Scrawk%2FPhillips-Ocean/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Scrawk","download_url":"https://codeload.github.com/Scrawk/Phillips-Ocean/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224011577,"owners_count":17240963,"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":["fluid-simulation","ocean","unity"],"created_at":"2024-08-02T05:02:32.964Z","updated_at":"2024-11-10T20:31:19.138Z","avatar_url":"https://github.com/Scrawk.png","language":"C#","readme":"# Phillips-Ocean\n\nThis is a ocean project  using Phillips spectrum to generate the waves. Some time around 2001 Jerry Tessendorf released a paper called 'Simulating Ocean Water' and in it he out lined all the methods and math need for simulating oceans. In this paper the math for using Phillips spectrum was outlined and I came across a [blog](http://www.keithlantz.net/2011/11/ocean-simulation-part-two-using-the-fast-fourier-transform/) that had converted the math to code.\n\nHis project was written in C++ so it was just a matter of converting that to a C# script for Unity. I have left all the math the same but have made some changes and restructured the code a bit and the Fourier transform now runs on its own thread resulting in a big performance increase.\n\n\n![Phillips Ocean](./Media/Ocean.png)\n\nList of water projects.\n\n[Ceto](https://github.com/Scrawk/Ceto)\\\n[Phillips ocean.](https://github.com/Scrawk/Phillips-Ocean)\\\n[Brunetons Ocean.](https://github.com/Scrawk/Brunetons-Ocean)\\\n[Tiled-directional flow.](https://github.com/Scrawk/Tiled-Directional-Flow)\\\n[PBD Fluid sim.](https://github.com/Scrawk/PBD-Fluid-in-Unity)\n","funding_links":[],"categories":["C\\#","C#","Water"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FScrawk%2FPhillips-Ocean","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FScrawk%2FPhillips-Ocean","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FScrawk%2FPhillips-Ocean/lists"}