======Designing an Experiment to Test Our Destressing Images====== Made by: [[steve-wang|Steve Wang]] This research aims to find out if fractal patterns with two colors or fractal patterns with more than two colors are more relaxing. If this is found out, it would effectively help with generating relaxing fractral patterns. Colors was chosen as the main comparison because color affects our mood and our feeling towards something a lot and it can be easily changed in our fractal pattern generator. Most of the features in the fractal pattern generator have something to do with colors. A big feature of the fractal generator is animating the change in colors and the color scheme of the background and the pattern itself. So, with this reasearch most of the features can be improved and will help improve the user experience. ====== Steve Scientific Method Practice ====== Question: Are fractals with only two colors (outline color and background color) less interesting than fractal patterns with more than two colors. Hypothesis: Fractal patterns with more than two colors are more relaxing because multiple calming colors can more effectively distract you from your worries and can attract your eyes to look at the fractal patterns. Fractal patterns with only two colors might be boring and quickly loose the audience’s attention. Prediction: Fractal patterns with more than 2 colors are more relaxing compared to fractals will only two colors Steps for experiment: - Get a color palette full of colors that provide same amount of stimulation to humans. (On the bottom of the page there is code provided for randomly picking colors from color array. Color that have the same amount of simulation has to be provided in a form of an array) - Make 5 fractal patterns and make two exact copies of each pattern. - For each fractal pattern follow assign colors like this: - For example we are coloring the two copies of pattern A: - Use code to generate a color palette. (example code at the bottom of the screen) - Take copy 1 of pattern A and color use code to randomly pick two colors from the color palette. The first color returned should be the outline and the second should be the background color. - Use the same code but get a random amount of colors and use another piece of code to assign colors to the fractal. There should be a bunch of shapes in the fractal and one color in one shape. The first color provided by the code should be the outline color and from biggest to smallest. Color the background of those shapes in the order of colors returned by code. - Do the same for the other fractal patterns. Code should be use for generation and allocation of colors to prevent personal bias. A sample code for generating colors for color palette and picking colors from color palette is provided below. - After coloring all the fractal patterns, ensure that all patterns are on different pieces of paper. In total there should be 10 pieces of paper. Each paper needs to be 10cm x 10cm. - Also make another unique 5 fractal patterns. However, this time, there only needs to be once copy of each but, the same coloring methods still need to be used. This is to throw off the person who will be looking at these fractals so that their answers will not be biased. - Go out on the street and set up a table. - Place the pictures in random orders but, the pictures that have the same pattern should not be put together or near each other (this is so that the answers are not biased). Then, give a number to each picture. Place the papers in columns of three so, there should be 5 rows. - Tell people we are doing a research on fractal patterns and if they can help us. If they agree, ask them to score each picture on how relaxing each picture is from a scale of 0 to 10. - [[:students:steve-science-experiment-feedback-sheet|Click to see the paper people should grade on]] - Get 50 people to do it. - Split the results into two groups. One is the results of the fractal pattern that has two colors the other one the results of the fractal patterns that has more than two colors. - Get the average score of both groups and see which has the higher score - The group with the higher average score is the group that is more relaxing to most people ====== Code for Making color palette and allocating colors ====== //Round numbers function roundOff (number,decimalPlaces){ let roundedNumber=number.toFixed(decimalPlaces); return JSON.parse(roundedNumber) } //Random number picker function randomRange(min, max,decimalPlaces) { if (decimalPlaces==undefined){decimalPlaces=0} return roundOff(min + (max - min) * (Math.random()),decimalPlaces); } //Color list let colors=['black','green','orange','blue','white','purple','grey'] //Color picker function randomColorPicker (colorArray,nOfColorsToReturn=2){ let colorsToReturn=[] for (let i = 0; i < nOfColorsToReturn; i++) { colorsToReturn.push(colorArray[randomRange(0,colorArray.length-1)]) } return colorsToReturn } //Calling randomColorPicker to give me 5 different colors randomColorPicker(colors,5) //Calling randomColorPicker to give me a random amount of colors from 3 to 10 //Creating color palette: let colorPalette=randomColorPicker(colors,randomRange(3,10)) //Pick random color from colorPalette: colorPalette[randomRange(0,colorPalette.length-1)] ===== Materials ===== - Computer - Some software - Printer - Paper - A place to place patterns ===== Requirements For Volunteer ===== - Can see clearly ===== Flowchart Process ===== {{ :steve_flowchart-practice.svg |}}