{"id":17603138,"url":"https://github.com/yjg30737/random-matrix-generator","last_synced_at":"2026-05-18T15:39:46.044Z","repository":{"id":108707369,"uuid":"430328713","full_name":"yjg30737/random-matrix-generator","owner":"yjg30737","description":"Random small dot covered matrix generator","archived":false,"fork":false,"pushed_at":"2021-12-29T09:12:33.000Z","size":32,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T08:42:11.236Z","etag":null,"topics":["py37","pyqt","pyqt-examples","pyqt-tutorial","pyqt5","pyqt5-examples","pyqt5-matrix","pyqt5-tutorial","python","python3","python37","qgraphicsview","qt"],"latest_commit_sha":null,"homepage":"","language":"Python","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/yjg30737.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":"2021-11-21T09:57:27.000Z","updated_at":"2023-02-14T20:39:44.000Z","dependencies_parsed_at":"2023-03-22T01:18:21.083Z","dependency_job_id":null,"html_url":"https://github.com/yjg30737/random-matrix-generator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Frandom-matrix-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Frandom-matrix-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Frandom-matrix-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yjg30737%2Frandom-matrix-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yjg30737","download_url":"https://codeload.github.com/yjg30737/random-matrix-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239680985,"owners_count":19679509,"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":["py37","pyqt","pyqt-examples","pyqt-tutorial","pyqt5","pyqt5-examples","pyqt5-matrix","pyqt5-tutorial","python","python3","python37","qgraphicsview","qt"],"created_at":"2024-10-22T13:41:07.758Z","updated_at":"2026-05-18T15:39:41.017Z","avatar_url":"https://github.com/yjg30737.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# random-matrix-generator\nRandom small dot covered matrix generator\n\n## Requirements\nPyQt5 \u003e= 5.8\n\n## Setup\n```\npip install git+https://github.com/yjg30737/random-matrix-generator.git --upgrade\n```\n\n## Example\n\nCode\n```python\nfrom PyQt5.QtWidgets import QWidget, QApplication, \\\n    QHBoxLayout, QPushButton\n\nfrom random_matrix_generator import RandomMatrixGraphicsView\n\n\nclass RmgExample(QWidget):\n    def __init__(self):\n        super().__init__()\n        self.__initUi()\n\n    def __initUi(self):\n        self.setWindowTitle('rmg')\n        self.__rmg = RandomMatrixGraphicsView()\n        self.__rmg.setHDotCount(100) # set count of horizontal dots\n        self.__rmg.setVDotCount(75) # set count of vertical dots\n        self.__rmg.setDotSize(5) # set the size of each dots\n        self.__rmg.setBorder(True) # set the border which surrounds the matrix\n        genBtn = QPushButton('Generate')\n        genBtn.clicked.connect(self.generate)\n        lay = QHBoxLayout()\n        lay.addWidget(self.__rmg)\n        lay.addWidget(genBtn)\n\n        self.setLayout(lay)\n\n    def generate(self):\n        self.__rmg.generate()\n\n\nif __name__ == \"__main__\":\n    import sys\n\n    app = QApplication(sys.argv)\n    rmgExample = RmgExample()\n    rmgExample.show()\n    app.exec()\n```\nResult\n\n![RandomMatrixGenerator](./example/rmgExample.png)\n\nLooks like QR code to me. Not quite the same though, it shall bears a resemblence.\n\nIf you click generate button once more, matrix won't reset; It will be more covered by another random generated dots. I will make an option of that soon enough.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Frandom-matrix-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyjg30737%2Frandom-matrix-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyjg30737%2Frandom-matrix-generator/lists"}