Giter Club home page Giter Club logo

golife's People

Contributors

r2p2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

golife's Issues

Don't ignore width and height parameter

If a map or file is loaded, the application determines the size of the field from the size of the map. If the parameter width and height are passed with the map or file parameter, they are ignored.

It would be better if the map could take place in the center of the field, where the field size can be defined by the parameters. If the passed size is smaller then the map size, the size of the map is used instead.

Auto resize

If the active cells are moving over the edges, the area could be auto resized.
Because of the linear field storage model it is a bit complicated to do so. Instead of just adding new arrays you have to reorganize every single cell. This could take longer and longer.

Stride increment should be MAXWORKERINDEX

Hi,

Nice project. I was looking at it as an example of multi-core simulations in go.

It seems to me that line 195 in life.go should have cellIndex incremented by MAXWORKERINDEX rather than workerIndex. Otherwise I don't follow your code then.
Care to comment?

Best regards from Montreal,

P.

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.