feat: refine difficulty calculation and update simulation data

This commit is contained in:
2026-02-12 18:51:00 +01:00
parent 27270d6452
commit 934b2a0483
3 changed files with 59 additions and 82 deletions

View File

@@ -9,9 +9,9 @@ import { X, Play, Square, RotateCcw } from 'lucide-vue-next';
const emit = defineEmits(['close']);
const { t } = useI18n();
const SIZES = [5, 10, 15, 20, 25, 30, 35, 40, 45, 50];
const SIZES = [5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 60, 70, 80];
const DENSITIES = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9];
const SAMPLES_PER_POINT = 10; // Reduced for web performance demo
const SAMPLES_PER_POINT = 50; // Increased for better accuracy
const isRunning = ref(false);
const progress = ref(0);