Giter VIP home page Giter VIP logo

cas's People

Contributors

dependabot[bot] avatar ghjansen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cas's Issues

Prototype a new GUI

This issue should consider the conclusions achieved on #5.
Here is a proposal for a new GUI:

cas-gui

The three components on top of the window should act as tabs, switching everything that is displayed in other components. This way, each tab acts independent from the others, so the user can simulate three cellular automata (one per tab) and see each one of them by navigating through the tabs.

Left corner keeps all configurations grouped by domain (similar to how it is today). Each option shows a panel on the right side that provides a good amount of space to interact with components. This panel can have a scrollbar if the amount of components is too big. The user can show/hide this panel at any time by clicking in the configuration options. The visualization of each configuration option is mutually excludent.

Right corner holds the tools to analyze the result of a simulation, same as it is today.

Bottom of the window contains the flow controls of the simulation (play complete, by step, discard/new, etc.)

All the white area of the window can be used to render the result of the simulation. This way, the window can be resized or enter fullscreen mode and all components can still be oriented to the window corners.

Research about SWING/AWT/Processing replacement

CAS is currently mixing SWING/AWT with 2 Processing applets, which doesn't seems really good.

SWING/AWT was used to avoid the time required to draw GUI control components using Processing, but the idea of having the entire GUI using Processing only is great! There are Processing GUI libraries out there like ControlP5 that require some investigation to conclude if their components support all CAS needs (window resizing, fullscreen, scrolls, buttons, fields, etc..).

The use of 2 Processing applets (one for the rule configuration and the other for the simulation view) seems to cause an excessive resource consumption that could be avoided by using a single Processing instance (with or without SWING/AWT). Also, it is important to use latest Processing. If the entire GUI could not be migrated to a single Processing instance somehow, then different technologies should be considered.

If no technology could be found to handle the job, maybe it should be considered to keep using SWING/AWT but along with JOGL.

Support for neighborhood configuration

The neighborhood configuration should allow to choose a specific set of neighbors for a given amount of dimensions.

e.g one-dimensional cellular automata can set the range of neighbors used at the sides of the reference cell, while two-dimensional cellular automata should decide between Moore neighborhood and von Neuman neighborhood.

Provide set of *.cas files

Create a set of *.cas files, each dedicated to the configuration of one rule, covering all the 256 elementary rules.

Provide set of *.png files

Create a set of *.png files, each dedicated to the configuration of one elementary rule, covering all the 256 elementary rules.

(related to #23 )

Support for initial conditions based on the fibonacci sequence

Maybe would be wise to wait for project Interface lift to develop this issue.

The pattern can be distributed through sequences coloured cells with the size of the next number on the fibonacci sequence, or the other way around - coloured cells are separated by sequences of quiescent cells in the sizes of the fibonacci sequence.

Allow full screen mode

This issue should consider conclusions reached on issues #5 and #6.
The simulation view area should always handle the resizing, other components like configuration can stay at a static size.

Allow window resizing

This issue should consider conclusions reached on issues #5 and #6.
The simulation view area should always handle the resizing, other components like configuration can stay at a static size.

Support for advanced options during Export

When exporting the simulation as an image, support the following options:

  1. Cell scale: square root of the amount of pixels representing 1 cell (Type: Integer)
  2. Show grid lines: configuration for inclusion or exclusion of the lines of the grid of cells (Type: Boolean)
  3. Grid lines thickness: the amount of pixels to be used as grid line thickness (Type: Integer)
  4. Grid lines colour: the colour of the lines of the grid of cells (Type: String)

Find a way to compare the Time from Universe with the Time from Space

Time is used in the constructors of both Space and Universe.
Space uses Time in its constructor to validate the amount of dimensions across them, but don't keep Time as attribute.
Universe, however, only keeps Time as attribute.
The instance of Time informed in the constructors of both Space and Universe must be the exact same, therefore, a validation must take place to match them somehow.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.