{"id":17772971,"url":"https://github.com/radames/ising-model-webgl","last_synced_at":"2026-01-12T06:45:44.196Z","repository":{"id":137671791,"uuid":"97434438","full_name":"radames/Ising-Model-WebGL","owner":"radames","description":"Simple Ising Model with WebGL Shader","archived":false,"fork":false,"pushed_at":"2017-07-20T03:22:37.000Z","size":117,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T10:51:32.302Z","etag":null,"topics":["2d","ernst-ising","ising","model","physics","simulation","webgl"],"latest_commit_sha":null,"homepage":"https://radames.github.io/Ising-Model-WebGL","language":"HTML","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/radames.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,"publiccode":null,"codemeta":null}},"created_at":"2017-07-17T04:12:36.000Z","updated_at":"2024-10-26T18:10:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"65419894-ad28-46dd-a75d-4db235891fdf","html_url":"https://github.com/radames/Ising-Model-WebGL","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radames%2FIsing-Model-WebGL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radames%2FIsing-Model-WebGL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radames%2FIsing-Model-WebGL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/radames%2FIsing-Model-WebGL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/radames","download_url":"https://codeload.github.com/radames/Ising-Model-WebGL/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246668904,"owners_count":20814744,"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":["2d","ernst-ising","ising","model","physics","simulation","webgl"],"created_at":"2024-10-26T21:41:47.156Z","updated_at":"2025-04-01T16:18:28.398Z","avatar_url":"https://github.com/radames.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg alt=\"img\" src=\"https://user-images.githubusercontent.com/102277/28255934-c1d2e1e0-6a82-11e7-8d1d-65f04e8de38f.png\"\u003e\n\n# Ising Model WebGL\n\nThe [Ising Model](https://en.wikipedia.org/wiki/Ising_model) is a very interesting mathematical model describing the ferromagnetism of materials and is part of Statistical Mechanics in Physics.\n\nThe simulation is made using [Monte Carlo Method](https://en.wikipedia.org/wiki/Ising_model#Monte_Carlo_methods_for_numerical_simulation)\n\n\n### WebGL \n\nThe WebGL is made very simply using a shader that given an array of points it draws all points using GPU wich is much more effient than using the pixels and the HTML canvas. Of course you could solve the whole problem using the GPU context, as made [here](https://www.ibiblio.org/e-notes/Perc/ising.htm). I'm just learning WebGL and Shaders that's why I did this way.\n\nReferences: \n\n* https://www.tutorialspoint.com/webgl/webgl_drawing_points.htm\n* https://stackoverflow.com/questions/35444202/draw-a-single-pixel-in-webgl-using-gl-points\n* https://www.ibiblio.org/e-notes/Perc/ising.htm\n\n\n## Interface\n\nI've been using [dat.gui](https://github.com/dataarts/dat.gui) for other project but it is not mobile friendly. I've found an experimental version [paper-gui](https://google.github.io/paper-gui/) made with Polymer paper elements and works very well.\n\n* https://google.github.io/paper-gui/\n* https://github.com/dataarts/dat.gui\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradames%2Fising-model-webgl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fradames%2Fising-model-webgl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fradames%2Fising-model-webgl/lists"}