{"id":20632274,"url":"https://github.com/zelosleone/iching","last_synced_at":"2026-03-10T07:31:26.914Z","repository":{"id":260070544,"uuid":"877894714","full_name":"zelosleone/iching","owner":"zelosleone","description":"Modern I Ching oracle powered by true random number generation and mathematical state transformations.","archived":false,"fork":false,"pushed_at":"2025-06-02T13:22:12.000Z","size":43,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-14T12:45:24.145Z","etag":null,"topics":["async-javascript","atmospheric-noise","binary-mathematics","binary-transformation","divination","hexagrams","i-ching","iching","javascript","mathematics","oracle","random-org","vector-graphics"],"latest_commit_sha":null,"homepage":"https://zelosleone.github.io/iching/","language":"JavaScript","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/zelosleone.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,"zenodo":null}},"created_at":"2024-10-24T12:33:03.000Z","updated_at":"2024-12-04T18:50:31.000Z","dependencies_parsed_at":"2025-08-14T12:43:54.144Z","dependency_job_id":"90e55e56-0037-4011-8153-4c31d232cc79","html_url":"https://github.com/zelosleone/iching","commit_stats":null,"previous_names":["zelosleone/iching"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zelosleone/iching","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zelosleone%2Fiching","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zelosleone%2Fiching/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zelosleone%2Fiching/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zelosleone%2Fiching/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zelosleone","download_url":"https://codeload.github.com/zelosleone/iching/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zelosleone%2Fiching/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30326903,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T05:25:20.737Z","status":"ssl_error","status_checked_at":"2026-03-10T05:25:17.430Z","response_time":106,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["async-javascript","atmospheric-noise","binary-mathematics","binary-transformation","divination","hexagrams","i-ching","iching","javascript","mathematics","oracle","random-org","vector-graphics"],"created_at":"2024-11-16T14:15:37.435Z","updated_at":"2026-03-10T07:31:26.896Z","avatar_url":"https://github.com/zelosleone.png","language":"JavaScript","readme":"# I Ching Oracle\n\nA sophisticated implementation of the I Ching (Book of Changes) divination system, combining ancient wisdom with modern cryptographic-grade randomness. This web application employs true quantum atmospheric noise from Random.org to generate authentic hexagrams, ensuring cryptographically secure and genuinely random divination results.\n\n## Features\n\n- **Cryptographic-Grade Randomness**: Utilizes Random.org's atmospheric noise measurements for true random number generation, superior to pseudo-random algorithms\n- **Binary-Decimal Transformation**: Elegant mathematical conversion between binary hexagram representations and their numerical equivalents (6:7:8:9 methodology)\n- **Deterministic State Transitions**: Sophisticated state machine handling hexagram transformations through changing lines\n- **Advanced Line Mutation Algorithm**: Mathematical mapping of 6/7/8/9 to Yin/Yang states with built-in transformation logic\n- **Real-Time Binary Key Generation**: Dynamic conversion of hexagram states to binary keys for instant lookup and transformation\n- **Responsive Vector Graphics**: Pure CSS-based vector line rendering for crisp display at any resolution\n- **Asynchronous API Integration**: Non-blocking architecture for seamless Random.org API interactions\n- **State-Preserving Transformations**: Intelligent handling of hexagram mutations while maintaining mathematical validity\n\n## Technical Implementation\n\n### Mathematics of Hexagram Generation\n\nThe application employs a sophisticated mathematical approach to hexagram generation:\n\n1. **Random Number Generation**: \n   - Range: [6,9] for changing/unchanging states\n   - Probability distribution: Uniform over discrete integers\n   - Source: Atmospheric noise measurements\n\n2. **Binary State Mapping**:\n   ```\n   6 -\u003e Changing Yin  (0 -\u003e 1)\n   7 -\u003e Static Yang   (1)\n   8 -\u003e Static Yin    (0)\n   9 -\u003e Changing Yang (1 -\u003e 0)\n   ```\n\n3. **Transformation Matrix**:\n   - Original state: [a₁, a₂, a₃, a₄, a₅, a₆] where aᵢ ∈ {6,7,8,9}\n   - Binary mapping: ℱ: {6,7,8,9} → {0,1}\n   - Transformation: T(aᵢ) → bᵢ where bᵢ represents the final state\n\n## Technology Stack\n\n- HTML5 with semantic structure\n- CSS3 with custom properties and mathematical transforms\n- Vanilla JavaScript leveraging modern ES6+ features\n- RESTful integration with Random.org's API\n- Asynchronous architecture with Promise-based flow control\n- Vector-based line rendering system\n\n## Getting Started\n\n### Prerequisites\n\nNo special prerequisites are required. You only need a modern web browser to run this application.\n\n## Usage\n\n1. Enter your question in the provided text area\n2. (Optional) Toggle unchanging hexagram mode for specific state constraints\n3. Initiate the casting process\n4. The system will display:\n   - Generated random numbers and their mathematical significance\n   - Original hexagram with binary state representation\n   - Changing line calculations (when present)\n   - Transformed hexagram with mathematical derivation\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Acknowledgments\n\n- [Random.org](https://www.random.org) for providing cryptographic-grade random number generation\n- [No2Do](https://www.no2do.com) for comprehensive hexagram interpretations\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzelosleone%2Fiching","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzelosleone%2Fiching","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzelosleone%2Fiching/lists"}