aejenk / glitchup

A databender library/executable made in Rust.
Mozilla Public License 2.0
1 stars 0 forks source link

Add speedup and slowdown mutations #30

Open aejenk opened 5 years ago

aejenk commented 5 years ago

SPEEDUP: Has additional "speedup" factor which is an integer. This is how it works, for example with [1,2,3,4,5,6,7,8,9] SPEEDUP X2: [1, 3, 5, 7, 9, 6, 7, 8, 9] SPEEDUP X3: [1, 4, 7, 4, 5, 6, 7, 8, 9]

SLOWDOWN: Has additional "slowdown" factor which is an integer. This is how it works, for example with [1,2,3,4,5,6,7,8,9] SLOWDOWN X2: [1,1,2,2,3,3,4,4,5...] SLOWDOWN X3: [1,1,1,2,2,2,3,3,3...]

This one should wrap around.