Commit 4ddb442a authored by Vladislav Perepelkin's avatar Vladislav Perepelkin
Browse files

removed config files from index

parent fcf4d55c
// USER CONFIGURATION FILE
#define THREADS 4
// Main properties
#define WIDTH 1000
#define HEIGHT 1000
#define ITERS 1000
#define SAVE_PERIOD 25
#define AVERAGING_RADIUS 5
// Field initialization
void init()
{
fill(0, 0, HEIGHT, WIDTH, // area
0.7, 0.7, 0.7, 0.7, // move
0.25, 0.0, 0.0, 0.0); // rest
}
// Sources rules
void sources(int iter)
{
if (iter==0) {
fill(0, WIDTH/2-5, HEIGHT, WIDTH/2+5, // area
1.0, 1.0, 1.0, 1.0, // move
0.75, 0.0, 0.0, 0.0); // rest
}
}
5 10 16
5 0.33333 0.33333 0.33334
10 0.33333 0.33333 0.33334
16 0.33333 0.33333 0.33334
15 21 26
15 0.33333 0.33333 0.33334
21 0.33333 0.33333 0.33334
26 0.33333 0.33333 0.33334
7 18
7 0.1 0.9
18 0.9 0.1
11 17
11 0.9 0.1
17 0.1 0.9
13 24
13 0.1 0.9
24 0.9 0.1
14 20
14 0.9 0.1
20 0.1 0.9
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment