Skip to content

a rebuild of the Knerdy Knitter project with .NET Core 1.1

Notifications You must be signed in to change notification settings

LinaShadrach/KnerdyKnitter-Reboot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knerdy Knitter

This app generates knitting patterns based on cellular automata rules.

Description

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

Create Form:

alt-text

A scarf generated using rule 30. This rule is classified as "chaotic":

alt-text

Installation

  • git clone <https://github.com/LinaShadrach/KnerdyKnitter.NET>

Set-Up Requirements

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. Use CTRL C to quit.

Known Bugs

None known.

Support and contact details

Please contact author through GitHub at username: LinaShadrach

Technologies and Resources used

C#, CSS, Git, GitHub, HTML, Javascript, JQuery, Materialize, .NET Core 1.1 (Entity, Identity, MVC), SSMS, SVG, Visual Studio 2017

Author

Lina Shadrach

License

MIT Copyright(c) 2016 Lina Shadrach

About

a rebuild of the Knerdy Knitter project with .NET Core 1.1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published