{"id":20424613,"url":"https://github.com/bahmanm/datedreamer","last_synced_at":"2026-04-21T19:01:48.895Z","repository":{"id":141458744,"uuid":"107579809","full_name":"bahmanm/datedreamer","owner":"bahmanm","description":"Date Dreamer: where calendar dates meet fantasy!","archived":false,"fork":false,"pushed_at":"2026-03-19T14:04:38.000Z","size":433,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-20T06:48:03.727Z","etag":null,"topics":["gradle","groovy","plot"],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bahmanm.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-10-19T17:49:18.000Z","updated_at":"2024-11-23T04:34:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"8711e89c-1640-45c0-8dde-4ec66bbaecf2","html_url":"https://github.com/bahmanm/datedreamer","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/bahmanm/datedreamer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmanm%2Fdatedreamer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmanm%2Fdatedreamer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmanm%2Fdatedreamer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmanm%2Fdatedreamer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bahmanm","download_url":"https://codeload.github.com/bahmanm/datedreamer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bahmanm%2Fdatedreamer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32105868,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["gradle","groovy","plot"],"created_at":"2024-11-15T07:10:14.332Z","updated_at":"2026-04-21T19:01:48.879Z","avatar_url":"https://github.com/bahmanm.png","language":"Groovy","readme":"Table Of Contents\n=================\n   * [Introduction](#introduction)\n   * [Download](#download)\n   * [What It Does](#what-it-does)\n      * [Samples](#samples)\n   * [How To Run](#how-to-run)\n      * [Configuration Options](#configuration-options)\n   * [How It Works](#how-it-works)\n   * [Credits](#credits)\n\n\n# Introduction #\nDate Dreamer: where calendar dates meet fantasy!\nTransforming calendar dates into surprisingly intriguing (and sometimes weird) plots.\n\n# Download #\n* [The latest release](https://github.com/bahmanm/datedreamer/releases/latest)\n* [Full list of all releases](https://github.com/bahmanm/datedreamer/releases/)\n\n# What It Does #\n*Date Dreamer* can operate in 4 modes:\n1. UI-only: the plot is displayed in a graphical window.\n2. File-only: the plot is written to a PNG file.\n3. File-only with interim frames: the plot is rendered partially in frames, demonstrating the process.\n4. UI and File: where you can enjoy the graphical display and at the same time have the plot(s) saved as images.\n\nSee \"Configuration Options\" for information on how to configure different modes.\n\n## Samples ##\nHere are 3 sample plots generated by *datedreamer*.\n\n![Date Dreamer - Sample Plot #3](https://i.imgur.com/iHKdX14.png)\n![Date Dreamer - Sample Plot #2](https://i.imgur.com/CPCdShy.png)\n![Date Dreamer - Sample Plot #1](https://i.imgur.com/HoUh12Z.png)\n\n# How To Run #\nThe only thing you need before running *Date Dreamer* is Java 1.7 and above. If you have it, then just download a release and follow the instructions in HOWTO_RUN file.\n\n*Note: Starting from release 0.6.0, the command line options have been replaced by a YAML configuration file which is self-descriptive.*\n\n## Configuration Options ##\n\n```yaml\n##\n## Configuration options for Date Dreamer\n##\n\n# How many data points to generate?\n# Though a bigger value means better precision, it comes at the price of speed\n# and the size of the image. Usually 20000 is a good balance.\nnPoints: 20000\n\n# Where to output the plot?\n# Can be 'file', 'ui' or 'both'.\noutputMode: ui\n\n# Where to write the image file?\n# In case `outputMode` is set to `file` or `both`, this is the path to the file.\nfilePath: datedreamer.png\n\n# What is the width of the image in pixels?\n# Scales the width and height of the original image so that the width is\n# `width`.\n# For instance, if the original image is 300x100 and `width` is set to 800,\n# the output dimensions will be 800x267.\nwidth: 900\n\n# What is the line color of the plot?\n# In hex RGB format. Note `0x` at the beginning.\ncolor: 0x6c008f\n\n# Instructions for Date Dreamer to generate frames as the \"dreaming\" happens!\n# If enabled, after generating certain number of points Date Dreamer will write\n# the resulting (partial) plot to a file.\nframes:\n  # Is framed rendering enabled?\n  # If set to `no`, none of the other options will have any effect whatsoever.\n  # If set to `yes`, `filePath` and `nPoints` will have no effect.\n  enabled: yes\n\n  # In which directory to place the frames?\n  # The directory should already exist and be accessible to Date Dreamer.\n  directory: .\n  \n  # What is the prefix of the partial image files?\n  # Date Dreamer will write image files with a simple naming convention:\n  # `prefix+i`. For instance: `frame-0.png`, `frame-1.png`, ...\n  prefix: 'frame-'\n\n  # Should Date Dreamer show interim frames?\n  # If you enable interim frames, then each frame will be represented as 2\n  # frames: 1 with the portion rendered using `interimColor` and the other\n  # one using `color`.\n  showInterim: no\n\n  # What is the line color of interim frames?\n  # Only takes effect if `showInterim` is enabled.\n  # Note `0x` at the beginning.\n  interimColor: 0xff075f\n\n  # Data to generate the frames. Each set contains the number of points in each\n  # frame and the number of frames.\n  data:\n    - nPoints: 100\n      nRepeat: 15\n    - nPoints: 500\n      nRepeat: 13\n    - nPoints: 1000\n      nRepeat: 13\n    \n# What is the initial seed to f(i)?\n# Probably you don't need to change this. That said, take a look at the README \n# for a better understanding.\nleap: 3\n\n```\n\n# How It Works #\nInternally, the current date (or in future releases, the date you pass to it) is used to build a function. This function is then called N times, generating N data points. The list of data points is then converted to the list of partial sums of data points. And finally rendered to an image.\n\nIn math terms, given\n\n![Definition of Y, M and D](https://i.imgur.com/P4KlG5d.gif)\n\n![Definition of C1 and C2](https://i.imgur.com/GiOxOwm.gif)\n\nand\n\n![Definition of f(i)](https://i.imgur.com/vtZoTQe.gif)\n\nthe points are generated using\n\n![Definition of g(n)](https://i.imgur.com/gXWf8L3.gif)\n\nand then rendered as a line plot.\n\n# Credits #\nI got the idea from [John D. Cook's website](https://www.johndcook.com/expsum/details.html).","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmanm%2Fdatedreamer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbahmanm%2Fdatedreamer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbahmanm%2Fdatedreamer/lists"}