Skip to content

Releases: scottpdo/flocc

0.1.0

19 Jan 17:18
4f35239
Compare
Choose a tag to compare

With 0.1.0, Flocc is officially out of pre-release and is ready for wider usage, with a stable API and wide range of capabilities.

From the perspective of library development, the biggest change of 0.1.0 is the re-implementation of the entire library in TypeScript (strictly-typed superset of JavaScript). 0.1.0 continues to build out unit tests, which, while far from comprehensive, are providing more stability.

For Flocc users, the biggest changes are:

  • The addition of .getAgentAt(x, y), .addAgentAt(x, y, agent) and .removeAgentAt(x, y) methods of GridEnvironment (to differentiate from inherited Environment methods), and
  • The addition of a Vector class for storing n-dimensional numerical data.

0.0.16

26 Nov 14:11
00eff02
Compare
Choose a tag to compare
0.0.16 Pre-release
Pre-release
  • Add stats functions (sum, mean, standard deviation)
  • Build out test suites (using Jest)
  • Add type annotations (using Flow)

0.0.15

01 Oct 20:11
Compare
Choose a tag to compare
0.0.15 Pre-release
Pre-release

refactor imports and exports, update documentation and fix distance/manhattanDistance functions

0.0.14

16 Aug 16:48
Compare
Choose a tag to compare
0.0.14 Pre-release
Pre-release

GridEnvironments now come instantiated with Cells (i.e. Agents, empty except for x and y values).

This allows for:

  • Game of Life: Don't have to populate the grid with agents, just use cells as agents
  • Sugarscape: Can have agents on top of cells (will make an example for this)

0.0.13

14 Jun 12:11
Compare
Choose a tag to compare
0.0.13 Pre-release
Pre-release

Fix to distance function (wasn't working for non-Agent objects with keys x, y, z)

0.0.12

13 Jun 17:40
Compare
Choose a tag to compare
0.0.12 Pre-release
Pre-release

Add "trace" option to CanvasRenderer
Add ManhattanDistance utility function

0.0.11

08 Jun 02:14
Compare
Choose a tag to compare
0.0.11 Pre-release
Pre-release

Add CanvasRenderer
Fix distance utility function

0.0.10

30 May 19:56
Compare
Choose a tag to compare
0.0.10 Pre-release
Pre-release

ASCIIRenderer

0.0.8

08 May 20:13
Compare
Choose a tag to compare
0.0.8 Pre-release
Pre-release

can removeAgent from a base Environment (seems a bit overdue, oops)
can increment and decrement Agent values
keeping documentation somewhat up-to-date too 🙂

0.0.7

07 May 13:48
Compare
Choose a tag to compare
0.0.7 Pre-release
Pre-release

GridEnvironment can swap two pairs of coordinates and getRandomOpenCell (returns coordinates of open cell or null).