diff --git a/README.md b/README.md index aa87c33..ffc332f 100644 --- a/README.md +++ b/README.md @@ -1,77 +1,41 @@ # 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. - -# Setup -Download and open Houdini with the ReactionDiffusionPlayground.hipc file found in this repository. +Wayne Wu # Puzzle 1 -Modify the **feed rate** to create a cell mitosis (cellular division) affect. - -The other parameters will be as follows: - -D_A = 1 - -D_B = 0.5 - -kill_rate = 0.0608 -delta_time = 1 +Feed rate = 0.03 - -![image](https://user-images.githubusercontent.com/60444726/197622415-ca9b9623-d01b-4e54-9b1a-b79109248cab.png) +![image](imgs/puzzle1.png) # 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. - -The other parameters will be as follows: - -D_A = 1 - -D_B = 0.5 - -feed_rate = 0.055 -delta_time = 1 +Kill rate = 0.0655 +![image](imgs/puzzle2.png) -![image](https://user-images.githubusercontent.com/60444726/197624737-58ab1aca-accb-4b4a-9654-cdc5fe84e723.png) - -Frame 5 - - -![image](https://user-images.githubusercontent.com/60444726/197624645-e5b13798-ae74-4e18-84dc-955a9919021c.png) - -Frame 100 - # 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! -The other parameters will be as follows: +D_B = 0.25 -D_A = 1 +![image](imgs/puzzle3.png) +Seed Placement -feed_rate = 0.055 +# Task 1 -kill_rate = 0.062 +Noise can be added inside the Make_Circle VEX code to get more interesting initial conditions. -delta_time = 1 +Without noise -![image](https://user-images.githubusercontent.com/60444726/197626261-1e4fa5d4-d9d8-4563-8b92-c2b2a20038f7.png) -Seed Placement +![image](imgs/nonoise.png) -![image](https://user-images.githubusercontent.com/60444726/197626365-9a91a0d6-1e6f-4b0f-838b-7047c153d860.png) -Frame 100 +With noise -# 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? +![image](imgs/withnoise.png) # 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. -# Submission -- Create a pull request to this repository -- In the README, include the names of both of your team members -- In the README, include a description of the task or puzzle you completed, screenshots/images (or videos!) of your results, AND the values for all the parameters you changed -- There is no need to upload a Houdini File. Screenshots of your results and images (or written values) of the parameters will be sufficient! +Added a torus as the initial shape and using the same settings as Puzzle 3 to get concentric rings. + +![image](imgs/task2.gif) diff --git a/imgs/nonoise.png b/imgs/nonoise.png new file mode 100644 index 0000000..2ae23c7 Binary files /dev/null and b/imgs/nonoise.png differ diff --git a/imgs/puzzle1.png b/imgs/puzzle1.png new file mode 100644 index 0000000..212217d Binary files /dev/null and b/imgs/puzzle1.png differ diff --git a/imgs/puzzle2.png b/imgs/puzzle2.png new file mode 100644 index 0000000..597f96b Binary files /dev/null and b/imgs/puzzle2.png differ diff --git a/imgs/puzzle3.png b/imgs/puzzle3.png new file mode 100644 index 0000000..4c85949 Binary files /dev/null and b/imgs/puzzle3.png differ diff --git a/imgs/task2.gif b/imgs/task2.gif new file mode 100644 index 0000000..aa3e59b Binary files /dev/null and b/imgs/task2.gif differ diff --git a/imgs/withnoise.png b/imgs/withnoise.png new file mode 100644 index 0000000..2ce0736 Binary files /dev/null and b/imgs/withnoise.png differ