{"id":25059916,"url":"https://github.com/stla/shinyxypad","last_synced_at":"2025-10-08T13:54:41.092Z","repository":{"id":60254730,"uuid":"187793680","full_name":"stla/shinyXYpad","owner":"stla","description":"An XY pad controller for Shiny.","archived":false,"fork":false,"pushed_at":"2022-09-26T14:23:56.000Z","size":260,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-08T16:16:13.808Z","etag":null,"topics":["r","shiny"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-21T08:22:06.000Z","updated_at":"2025-03-21T21:40:30.000Z","dependencies_parsed_at":"2022-09-27T08:30:26.911Z","dependency_job_id":null,"html_url":"https://github.com/stla/shinyXYpad","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stla/shinyXYpad","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2FshinyXYpad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2FshinyXYpad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2FshinyXYpad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2FshinyXYpad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stla","download_url":"https://codeload.github.com/stla/shinyXYpad/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stla%2FshinyXYpad/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278956334,"owners_count":26075221,"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-08T02:00:06.501Z","response_time":56,"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":["r","shiny"],"created_at":"2025-02-06T15:55:46.584Z","updated_at":"2025-10-08T13:54:41.076Z","avatar_url":"https://github.com/stla.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# shinyXYpad\n\nAn XY pad controller for Shiny.\n\n```r\nlibrary(shiny)\nlibrary(shinyXYpad)\n\nui \u003c- fluidPage(\n  tags$head(\n    tags$style(HTML(\"#xy2-xylabel {font-size: 20px; color: lime;}\"))\n  ),\n  fluidRow(\n    column(\n      3, \n      XYpadInput(\n        \"xy1\", label = \"XY pad\", pointRadius = 5, \n        x = \"X\", y = \"Y\", \n        coordsColor = \"darkred\", xyColor = \"green\", \n        xySize = 14, xyStyle = \"oblique\"\n      )\n    ),\n    column(\n      3, \n      XYpadInput(\n        \"xy2\", label = \"XY pad\", pointColor = \"red\", \n        width = 150, height = 150, \n        onMove = TRUE, displayXY = FALSE, displayPrevious = FALSE\n      )\n    )\n  ),\n  br(),\n  actionButton(\"update\", \"Update\"),\n  br(),\n  fluidRow(\n    column(3, verbatimTextOutput(\"xy1value\")),\n    column(3, verbatimTextOutput(\"xy2value\"))\n  )\n)\n\nserver \u003c- function(input, output, session){\n  \n  output[[\"xy1value\"]] \u003c- renderPrint({input[[\"xy1\"]]})\n  output[[\"xy2value\"]] \u003c- renderPrint({input[[\"xy2\"]]})\n  \n  observeEvent(input[[\"update\"]], {\n    updateXYpadInput(\n      session = session, inputId = \"xy1\", label = \"XY controller\",  \n      value = list(x = 50, y = 50), ndecimals = 3, \n      bgColor = \"rgba(100,255,100,0.2)\", \n      pointColor = \"maroon\", pointRadius = 15\n    )\n  })\n  \n}\n\nshinyApp(ui, server)\n```\n\n![](https://raw.githubusercontent.com/stla/shinyXYpad/master/inst/gif/XYpad.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstla%2Fshinyxypad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstla%2Fshinyxypad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstla%2Fshinyxypad/lists"}