# R0J0's experiments

### » Sat Jun 25, 2016 5:04 pm

Oh I love the magnetic field vector. Added "genation" as new vocabulary in my box of cool terms.
B
134
S
55
G
24
Posts: 803
Reputation: 24,439

### » Sat Jun 25, 2016 5:18 pm

@alextro
Haha, thanks for pointing that out. I typed that too fast and spellcheck let me down.
B
100
S
38
G
134
Posts: 5,556
Reputation: 85,325

### » Sat Jun 25, 2016 8:41 pm

I thought it has something related to genetic algorithm and the forming islands show that
B
134
S
55
G
24
Posts: 803
Reputation: 24,439

### » Wed Jun 29, 2016 1:25 am

Very impressive examples. I watched the ski terrain demo long enough several times that it eventually got to the point where the terrain pretty much goes vertical. I was wondering if you knew what causes that.
B
18
S
5
Posts: 30
Reputation: 1,160

### » Wed Jun 29, 2016 2:38 am

@MathNook
That's all the terrain that was generated, and after that it goes to 0. Changing the size of the array will change how much is generated.
B
100
S
38
G
134
Posts: 5,556
Reputation: 85,325

### » Wed Jun 29, 2016 11:18 pm

Ah okay that makes sense. Now I'll see if I can figure out how to make it go on indefinitely. Thanks.
B
18
S
5
Posts: 30
Reputation: 1,160

### » Thu Jun 30, 2016 3:16 am

@mathNook
The simplest way would be to use perlin noise instead of an array of random values. There's a noise plugin that can help with that. Not sure if the example can be tweaked that way.
Another idea is to loop the array. Basically you have a front index and a back index. You start with the array filled and back as 0. Front is the current position. Once it's a certain distance from back, the value at back is set to a new random value and one is added to back. Or something like that. I'd probably start from scratch since the idea is different enough.
B
100
S
38
G
134
Posts: 5,556
Reputation: 85,325

### » Thu Jun 30, 2016 3:53 am

@R0J0hound
Regarding the the terrain generator, how much more complicated would be to get something like mine blocks (minecraft 2d) done?
B
134
S
52
G
25
Posts: 401
Reputation: 23,169

### » Thu Jun 30, 2016 8:29 am

@jogosgratispro
Not very I'd imagine. This terrain is based on an idea that mudmask linked to. It just randomizes the array then smooths it for a island like look. Side view stuff is probably better done with perlin noise I'd imagine.
B
100
S
38
G
134
Posts: 5,556
Reputation: 85,325

### » Thu Jun 30, 2016 11:41 pm

@R0J0hound
Great. Thanks for the suggestions.
B
18
S
5
Posts: 30
Reputation: 1,160

PreviousNext