Islamic_clock / celestial_core_registry.json
Asem75's picture
Upload 4 files
a610a74 verified
Raw History Blame Contribute Delete
4.64 kB
{
"schema_name": "celestial_core_registry",
"schema_version": "1.0.0",
"purpose": "كل ثوابت وأحكام وعتبات وألوان ونصوص محاكاة الشمس والقمر والقبلة والظل. لا قيمة منها داخل celestial_simulation.js. القيم الموجودة في sky_simulation_registry تتقدم عليها عند وجودها.",
"qibla": { "kaaba": { "lat": 21.422487, "lng": 39.826206 } },
"astronomy": { "refraction_model": "normal" },
"sun": {
"horizon_altitude_deg": -0.833,
"crossing_scan_step_minutes": 5,
"crossing_bisect_iterations": 28
},
"moon_model": {
"note": "للحساب الاحتياطي فقط عند غياب Astronomy Engine",
"synodic_month_days": 29.530588853,
"reference_new_moon_utc": "2000-01-06T18:14:00Z",
"new_moon_search_back_days": 35
},
"moon_bands": [
{ "until": 0.03, "key": "new_moon", "name_ar": "محاق" },
{ "until": 0.22, "key": "waxing_crescent", "name_ar": "هلال متزايد" },
{ "until": 0.28, "key": "first_quarter", "name_ar": "تربيع أول" },
{ "until": 0.47, "key": "waxing_gibbous", "name_ar": "أحدب متزايد" },
{ "until": 0.53, "key": "full_moon", "name_ar": "بدر" },
{ "until": 0.72, "key": "waning_gibbous", "name_ar": "أحدب متناقص" },
{ "until": 0.78, "key": "last_quarter", "name_ar": "تربيع أخير" },
{ "until": 0.97, "key": "waning_crescent", "name_ar": "هلال متناقص" },
{ "until": 1, "key": "new_moon", "name_ar": "محاق" }
],
"moon_render": {
"light_color": "#f7f4d8",
"dark_color": "#1b2340",
"glow": "0 0 18px rgba(255,255,255,.38)",
"border_radius": "50%",
"new_moon_below": 0.03,
"full_moon_above": 0.97
},
"projection": {
"x_center_percent": 50, "x_half_range_deg": 180, "x_scale_percent": 50, "x_max_percent": 100,
"y_horizon_percent": 82, "altitude_offset_deg": 10, "altitude_span_deg": 100, "y_scale_percent": 72,
"y_min_percent": 6, "y_max_percent": 92
},
"sky_phase_thresholds_deg": { "night_below": -12, "twilight_below": -1, "horizon_below": 8 },
"sky_render": { "angle_deg": 180, "mid_mix": 0.55, "mid_stop_percent": 58 },
"horizon_color_model": { "cool_color": "#18345c", "warm_color": "#f1a05c", "peak_altitude_deg": 2, "falloff_deg": 18 },
"qibla_render": { "opacity_visible": "1", "opacity_dim": ".35" },
"shadow": {
"cache_limit": 8,
"milestones": [
{ "factor": 1, "key": "asr_jumhur", "label_ar": "ظل المثل" },
{ "factor": 2, "key": "asr_hanafi", "label_ar": "ظل المثلين" }
],
"render": { "px_per_ratio": 38, "min_px": 6, "max_px": 220, "opacity_visible": ".42", "opacity_hidden": "0" }
},
"defaults": {
"alignment_threshold_deg": 4,
"near_alignment_threshold_deg": 12,
"visible_below_horizon_deg": -5,
"size_min_px": 24,
"size_max_px": 44,
"size_altitude_offset_deg": 5,
"size_altitude_span_deg": 70,
"update_interval_ms": 60000,
"object_height_unit": 1,
"observer_elevation_m": 0
},
"compass": { "no_signal_timeout_ms": 4000, "flat_projection_below": 0.35 },
"precision": { "altitude_digits": 1, "percent_digits": 0, "degree_digits": 0, "ratio_digits": 2 },
"texts_ar": {
"moon_title": "{phase} - إضاءة {percent}%",
"qibla_aligned": "أنت متجه نحو القبلة",
"qibla_turn": "حرّك الهاتف {direction} {degrees}° تقريبًا",
"qibla_bearing": "القبلة {degrees}° من الشمال",
"right": "يمينًا",
"left": "يسارًا",
"shadow_length": "طول الظل {ratio} من طول الجسم",
"sun_below_horizon": "الشمس تحت الأفق",
"info_sun": "الشمس {altitude}°",
"info_moon": "القمر {phase} {percent}%",
"info_qibla_bearing": "القبلة {degrees}°",
"info_qibla_aligned": "القبلة أمامك",
"info_qibla_delta": "فرق القبلة {degrees}°",
"info_separator": " | ",
"compass_secure_required": "الحساسات تحتاج اتصال HTTPS آمن.",
"compass_unsupported": "هذا المتصفح لا يوفر حساس اتجاه للجافاسكربت على هذا الجهاز.",
"compass_permission_denied": "لم يتم منح إذن حساس الاتجاه.",
"compass_enabled": "تم تفعيل اتجاه الهاتف.",
"compass_failed": "تعذر تفعيل حساس الاتجاه.",
"compass_no_signal": "لا توجد قراءة اتجاه مطلقة من هذا الجهاز. يظهر اتجاه القبلة بالنسبة للشمال."
}
}