This app generates knitting patterns based on cellular automata rules.
The main purpose of this app is to generate a 2-color scarf knitting pattern from a mathematical model. Users are able to change the rule, colors, and the dimensions and see the scarf change immediately. Users are able to save their creations and revisit them later by signing in with a username and password. The mathematical model used was developed by Steven Wolfram in the '80s. It describes one-dimensional cellular automata. The rules governing the creation of these cellular automata are very simple. A cell can be in one of two states: "on" or "off" (represented by two different colors). Whether the cell will be "on" or "off" depends on its current state and the state of the cell to the right of it and the state of the cell to the left of it. A new row of cells is created like this. So, for the scarf, the color of each stitch depends on the color of each of the three stitches in the previous row that are most adjacent to the stitch. This mathematical model is demonstrates that simple rules can produce complex and random patterns. To read more about cellular automata, check out the Wikipedia article or Steven Wolfram's book A New Kind of Science, which is free online!
This is a rebuild of the original Knerdy Knitter using .NET Core 1.1. The original site was built using .NET 4.5
git clone <https://github.com/LinaShadrach/KnerdyKnitter.NET>
To get the project up and running as is, the following are required:
- .NET Core 1.1
- SSMS This project was created using VS 2017. It can also be run using the CLI:
> dotnet restore
: to load nuget packages> dotnet build
: to build project> dotnet run
: to run the app. UseCTRL C
to quit.
None known.
Please contact author through GitHub at username: LinaShadrach
C#, CSS, Git, GitHub, HTML, Javascript, JQuery, Materialize, .NET Core 1.1 (Entity, Identity, MVC), SSMS, SVG, Visual Studio 2017
Lina Shadrach
MIT Copyright(c) 2016 Lina Shadrach