summaryrefslogtreecommitdiffstats
path: root/src/app/data_farmer.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/data_farmer.rs')
-rw-r--r--src/app/data_farmer.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/app/data_farmer.rs b/src/app/data_farmer.rs
index 151a710d..9741c563 100644
--- a/src/app/data_farmer.rs
+++ b/src/app/data_farmer.rs
@@ -278,13 +278,13 @@ pub fn generate_joining_points(
// Let's generate... about this many points!
let num_points = std::cmp::min(
std::cmp::max(
- (value_difference.abs() / time_difference * 1000.0) as u64,
+ (value_difference.abs() / time_difference * 2000.0) as u64,
50,
),
- 1000,
+ 2000,
);
- for itx in (0..num_points).step_by(4) {
+ for itx in (0..num_points).step_by(2) {
points.push((
time_difference - (itx as f64 / num_points as f64 * time_difference),
start_y + (itx as f64 / num_points as f64 * value_difference),