<commit_before># Create A Project

Whether we are creating an artwork, an app, a quick sketch or an installation,
we want to begin by creating a new project. A new nannou project lets us build a
nannou application the way that *we* want to use it.

Eventually, the aim for Nannou is to provide a project generator tool which will
allow us to do the following and much more in just a few clicks. For now, we can
create a new project with just a few small steps:

1. Create the Rust project with the name of our project:

   ```bash
   cargo new my-project
   ```

2. Change directory to the generated project.

   ```bash
   cd my-project
   ```

3. Edit the `Cargo.toml` file and add the latest version of nannou to the bottom
   like so:

   ```toml
   [package]
   name = "my_project"
   version = "0.1.0"
   authors = ["mitchmindtree <<EMAIL>>"]
   edition = "2018"
   
   [dependencies]
   nannou = "0.10"
   ```

4. Replace the code in `src/main.rs` with the following to setup our nannou
   application.

   ```rust,no_run
   # extern crate nannou;
   use nannou::prelude::*;<commit_msg>Update nannou version to 0.11<commit_after># Create A Project

Whether we are creating an artwork, an app, a quick sketch or an installation,
we want to begin by creating a new project. A new nannou project lets us build a
nannou application the way that *we* want to use it.

Eventually, the aim for Nannou is to provide a project generator tool which will
allow us to do the following and much more in just a few clicks. For now, we can
create a new project with just a few small steps:

1. Create the Rust project with the name of our project:

   ```bash
   cargo new my-project
   ```

2. Change directory to the generated project.

   ```bash
   cd my-project
   ```

3. Edit the `Cargo.toml` file and add the latest version of nannou to the bottom
   like so:

   ```toml
   [package]
   name = "my_project"
   version = "0.1.0"
   authors = ["mitchmindtree <<EMAIL>>"]
   edition = "2018"
   
   [dependencies]
   nannou = "0.11"
   ```

   Note that there is a chance the nannou version above might be out of date.
   You can check the latest version by typing `cargo search nannou` in your
   terminal.

4. Replace the code in `src/main.rs` with the following to setup our nannou
   application.

   ```rust,no_run
   # extern crate nannou;
   use nannou::prelude::*;
{'fraction_non_alphanumeric': 0.07805907172995781, 'fraction_numerical': 0.013080168776371307, 'mean_word_length': 3.1523642732049035, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '658982', 'n_tokens_mistral': 754, 'n_tokens_neox': 722, 'n_words': 358}