diff --git a/README.md b/README.md index aa87c33..2514d31 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # Lab06 - Reaction Diffusion Let's play with the parameters and setup of the reaction-diffusion equation to create cool effects. You may work with a partner for this lab. **Please choose 3 of the following 5 puzzles/tasks to complete this lab.** Additional puzzles/task may be completed for extra credit. +Partner: Megan Reddy + # Setup Download and open Houdini with the ReactionDiffusionPlayground.hipc file found in this repository. @@ -20,6 +22,12 @@ delta_time = 1 ![image](https://user-images.githubusercontent.com/60444726/197622415-ca9b9623-d01b-4e54-9b1a-b79109248cab.png) +# Answer: +feed_rate = 0.0275 + +![9ad5c19a8ddd43d24dbec91864d94cde](https://user-images.githubusercontent.com/65415823/198054638-3bf8c634-e435-4a88-bc93-f65253fd3cc2.gif) + +image # Puzzle 2 Modify the **kill rate** to create an simulation that reaches equilibrium very quickly. The rings should be approximately where the starting seeds were, and there should be little change between the 5th and the 100th frame. @@ -45,6 +53,17 @@ Frame 5 Frame 100 +# Answer +kill_rate = 0.0654 + +Frame 5 + +image + +Frame 100 + +image + # Puzzle 3 Modify the diffusion rate of chemical B (D_B) to create a simulation that still demonstrates where the seeds were at the start of the algorithm. There should be parts of concentric circles surrounding each seed location. To see if you're on the right track, run the simulation and then check (or have a friend check) and see if you can idenitfy where all the seeds were at the start of the algorithm! @@ -64,12 +83,52 @@ Seed Placement ![image](https://user-images.githubusercontent.com/60444726/197626365-9a91a0d6-1e6f-4b0f-838b-7047c153d860.png) Frame 100 +# Answer + +D_B = 0.205 + +image + # Task 1 Modify the shape, size, or placement of the seeds in the playground to create an interesting effect. Which node might you need to adjust? How can you change the exisitng VEX to create something interesting? +# Change the seeds +I adjusted the seed_number and the min and max radius +seed_number = 30 +min_radius = 0.2 +max_radius = 0.6 +D_A = 0.7 +D_B = 0.1 +feed_rate = 0.07 +kill_rate = 0.08 + +![ezgif com-gif-maker](https://user-images.githubusercontent.com/65415823/198068639-92906ea6-2d93-4412-a37f-1c7b4abc332c.gif) + +image + +image + # Task 2 Modify some of the parameters to create a cool effect. This effect can be displayed with a video or image, depending on whether you want to showcase the animated effect or the algorithm's result. +# Cool Effects +D_A = 0.7 +D_B = 0.12 +feed_rate = 0.050 +kill_rate = 0.06 + +![ca0f92547827d71081141d5beacaf09e](https://user-images.githubusercontent.com/65415823/198064122-f00b5de3-421d-40d6-a5e3-753598ba286e.gif) + +D_A = 0.8 +D_B = 0.3 +feed_rate = 0.055 +kill_rate = 0.06 +color change + +![ezgif com-gif-maker (1)](https://user-images.githubusercontent.com/65415823/198071654-b457512e-6928-4068-b25f-096b580e5709.gif) + +image + # Submission - Create a pull request to this repository - In the README, include the names of both of your team members