{"id":19708751,"url":"https://github.com/bendudson/tokamak-draw","last_synced_at":"2026-06-07T22:34:08.155Z","repository":{"id":3371420,"uuid":"4418434","full_name":"bendudson/tokamak-draw","owner":"bendudson","description":"Draws figures of tokamak surfaces and field-lines using OpenGL / GLUT ","archived":false,"fork":false,"pushed_at":"2012-05-23T09:50:15.000Z","size":220,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T18:31:07.738Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bendudson.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-23T09:49:19.000Z","updated_at":"2023-04-10T05:34:01.000Z","dependencies_parsed_at":"2022-08-30T08:32:11.793Z","dependency_job_id":null,"html_url":"https://github.com/bendudson/tokamak-draw","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bendudson/tokamak-draw","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendudson%2Ftokamak-draw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendudson%2Ftokamak-draw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendudson%2Ftokamak-draw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendudson%2Ftokamak-draw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendudson","download_url":"https://codeload.github.com/bendudson/tokamak-draw/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendudson%2Ftokamak-draw/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34041087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"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-11-11T21:44:45.488Z","updated_at":"2026-06-07T22:34:08.138Z","avatar_url":"https://github.com/bendudson.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Tokamak draw\n============\n\nA fairly simple OpenGL code for drawing toroidal surfaces, field-lines etc. \nUseful mainly for producing diagrams for talks\n\nCopyright (C) 2012 Ben Dudson University of York \u003cbenjamin.dudson@york.ac.uk\u003e \n\nThis program is free software; you can redistribute it and/or\nmodify it under the terms of the GNU General Public License\nas published by the Free Software Foundation; either version 2\nof the License or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program; if not write to the Free Software\nFoundation Inc. 51 Franklin Street Fifth Floor Boston MA  02110-1301 USA.\n\nBundled code\n============\n\nUses GL2PS by Christophe Geuzaine \u003cgeuz@geuz.org\u003e to produce PostScript output\n\nExample\n=======\n\nTo generate an example input file, run\n\n$ tokamak_draw example\n\nThis will produce a file 'example.def', which defines a model to draw.\nThe syntax of this file is quite simple, and by changing this you\ncan specify different models to draw.\n\nJust running without any arguments\n\n$ tokamak_draw\n\nwill try to read from 'example.def', but you can specify a different file\nto read as the first argument e.g:\n\n$ tokamak_draw my_model.def\n\nWhen viewing a model, pressing 'h' or '?' gives a list of commands.\nPressing 'q' or ESC exits.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendudson%2Ftokamak-draw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbendudson%2Ftokamak-draw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendudson%2Ftokamak-draw/lists"}