@jjlmoya/utils-science 1.33.0 → 1.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/package.json +1 -1
  2. package/src/category/index.ts +2 -1
  3. package/src/entries.ts +3 -1
  4. package/src/index.ts +1 -0
  5. package/src/tests/locale_completeness.test.ts +2 -2
  6. package/src/tests/tool_validation.test.ts +2 -2
  7. package/src/tool/natural-selection-drift/component.astro +37 -6
  8. package/src/tool/natural-selection-drift/natural-selection-drift.css +134 -0
  9. package/src/tool/three-body-problem/app.ts +274 -0
  10. package/src/tool/three-body-problem/bibliography.astro +14 -0
  11. package/src/tool/three-body-problem/bibliography.ts +16 -0
  12. package/src/tool/three-body-problem/component.astro +70 -0
  13. package/src/tool/three-body-problem/entry.ts +26 -0
  14. package/src/tool/three-body-problem/i18n/de.ts +162 -0
  15. package/src/tool/three-body-problem/i18n/en.ts +162 -0
  16. package/src/tool/three-body-problem/i18n/es.ts +162 -0
  17. package/src/tool/three-body-problem/i18n/fr.ts +162 -0
  18. package/src/tool/three-body-problem/i18n/id.ts +162 -0
  19. package/src/tool/three-body-problem/i18n/it.ts +162 -0
  20. package/src/tool/three-body-problem/i18n/ja.ts +162 -0
  21. package/src/tool/three-body-problem/i18n/ko.ts +162 -0
  22. package/src/tool/three-body-problem/i18n/nl.ts +162 -0
  23. package/src/tool/three-body-problem/i18n/pl.ts +162 -0
  24. package/src/tool/three-body-problem/i18n/pt.ts +162 -0
  25. package/src/tool/three-body-problem/i18n/ru.ts +162 -0
  26. package/src/tool/three-body-problem/i18n/sv.ts +162 -0
  27. package/src/tool/three-body-problem/i18n/tr.ts +162 -0
  28. package/src/tool/three-body-problem/i18n/zh.ts +162 -0
  29. package/src/tool/three-body-problem/index.ts +11 -0
  30. package/src/tool/three-body-problem/logic/ThreeBodyEngine.ts +179 -0
  31. package/src/tool/three-body-problem/seo.astro +15 -0
  32. package/src/tool/three-body-problem/three-body-problem-simulator.css +503 -0
  33. package/src/tools.ts +2 -0
@@ -0,0 +1,162 @@
1
+ import { bibliography } from '../bibliography';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+
4
+ const slug = 'simulateur-probleme-trois-corps';
5
+ const title = 'Simulateur du Problème à Trois Corps';
6
+ const description = 'Simulez trois corps gravitationnels dans un plan bidimensionnel avec masses modifiables, vecteurs de vitesse, traînées et préréglages stables ou chaotiques.';
7
+
8
+ const howTo = [
9
+ {
10
+ name: 'Choisissez un préréglage orbital',
11
+ text: 'Commencez avec l\'orbite en huit pour une référence stable, le triangle de Lagrange pour un équilibre rotatif, ou le préréglage de fronde pour une rencontre visiblement chaotique.',
12
+ },
13
+ {
14
+ name: 'Ajustez les masses et les vecteurs de vitesse',
15
+ text: 'Utilisez les curseurs de chaque corps pour modifier la masse et les composantes initiales de la vitesse. De petits changements peuvent préserver un motif, le déformer ou le détruire complètement.',
16
+ },
17
+ {
18
+ name: 'Consultez les diagnostics',
19
+ text: 'Surveillez l\'énergie totale, la séparation la plus proche et la plus lointaine, et le centre de masse pour comprendre si l\'orbite numérique reste bornée ou si elle se désagrège.',
20
+ },
21
+ ];
22
+
23
+ const faq = [
24
+ {
25
+ question: 'Qu\'est-ce que le problème à trois corps ?',
26
+ answer: 'Le problème à trois corps cherche comment trois masses se déplacent lorsque chaque corps attire gravitationnellement les deux autres. Contrairement au problème à deux corps, il n\'existe pas d\'équation générale fermée qui résolve toutes les configurations possibles, c\'est pourquoi la plupart des cas pratiques sont explorés par intégration numérique.',
27
+ },
28
+ {
29
+ question: 'Pourquoi les orbites à trois corps sont-elles instables ?',
30
+ answer: 'De nombreux systèmes à trois corps sont sensibles aux conditions initiales. Un infime changement de vitesse, de position ou de masse modifie le moment des rencontres rapprochées, et ces rencontres peuvent échanger de l\'énergie de manière dramatique. Il en résulte un système qui peut rester borné un certain temps puis éjecter soudainement un corps.',
31
+ },
32
+ {
33
+ question: 'Que montre le préréglage en huit ?',
34
+ answer: 'Le préréglage en huit est une célèbre solution périodique pour trois masses égales. Chaque corps suit la même trajectoire avec un décalage de phase, démontrant que le problème à trois corps peut contenir des îlots stables élégants au sein d\'un paysage chaotique beaucoup plus vaste.',
35
+ },
36
+ {
37
+ question: 'Ce simulateur est-il physiquement exact du point de vue astronomique ?',
38
+ answer: 'Cet outil utilise un modèle newtonien adouci et un pas de type Verlet de vitesse symplectique pour que le mouvement soit fidèle et stable pour l\'apprentissage. Il est conçu pour l\'exploration interactive plutôt que pour la prédiction d\'éphémérides de haute précision.',
39
+ },
40
+ {
41
+ question: 'Comment interpréter l\'énergie totale ?',
42
+ answer: 'Une énergie totale négative indique généralement un système lié, tandis qu\'une énergie proche de zéro peut faciliter l\'échappement. Dans une simulation numérique, une dérive énergétique importante avertit également que le pas de temps ou la géométrie de la rencontre sollicite trop l\'intégrateur.',
43
+ },
44
+ ];
45
+
46
+ export const content: ToolLocaleContent = {
47
+ slug,
48
+ title,
49
+ description,
50
+ ui: {
51
+ title,
52
+ kicker: 'Laboratoire de chaos gravitationnel',
53
+ canvasLabel: 'Canevas interactif bidimensionnel d\'orbite à trois corps',
54
+ presetsLabel: 'Préréglages orbitaux',
55
+ figureEightPreset: 'Huit',
56
+ lagrangePreset: 'Triangle de Lagrange',
57
+ slingshotPreset: 'Fronde',
58
+ pauseButton: 'Pause',
59
+ playButton: 'Lecture',
60
+ resetButton: 'Réinitialiser',
61
+ speedLabel: 'Vitesse de simulation',
62
+ trailLabel: 'Longueur de traînée',
63
+ massLabel: 'Masse',
64
+ velocityXLabel: 'Vitesse X',
65
+ velocityYLabel: 'Vitesse Y',
66
+ energyLabel: 'Énergie totale',
67
+ separationLabel: 'Intervalle de séparation',
68
+ centerMassLabel: 'Centre de masse',
69
+ },
70
+ seo: [
71
+ {
72
+ type: 'title',
73
+ text: 'Simulateur interactif du problème à trois corps pour le chaos orbital',
74
+ level: 2,
75
+ },
76
+ {
77
+ type: 'paragraph',
78
+ html: 'Le problème à trois corps est l\'une des démonstrations les plus claires que des lois simples peuvent produire un mouvement compliqué. La gravité newtonienne donne une règle de force compacte, mais dès qu\'un troisième corps massif rejoint le système, chaque orbite remodèle continuellement les deux autres. Ce simulateur vous permet d\'expérimenter directement cette instabilité: choisissez une configuration connue, ajustez les masses et les vecteurs de vitesse, et observez si les corps forment une orbite répétitive, un triangle rotatif ou un événement de dispersion chaotique.',
79
+ },
80
+ {
81
+ type: 'title',
82
+ text: 'Ce que démontrent les préréglages',
83
+ level: 3,
84
+ },
85
+ {
86
+ type: 'table',
87
+ headers: ['Préréglage', 'Idée physique', 'Quoi observer'],
88
+ rows: [
89
+ ['<strong>Huit</strong>', 'Une solution périodique à masses égales où les trois corps partagent la même boucle.', 'L\'orbite reste organisée seulement lorsque la symétrie et l\'équilibre des vitesses sont soigneusement préservés.'],
90
+ ['<strong>Triangle de Lagrange</strong>', 'Trois corps occupent un triangle équilatéral qui tourne autour du centre de masse.', 'L\'équilibre des masses et la vitesse tangentielle empêchent le triangle de s\'effondrer vers l\'intérieur.'],
91
+ ['<strong>Fronde</strong>', 'Une rencontre rapprochée transfère de l\'énergie entre les corps.', 'Un corps peut gagner en vitesse tandis qu\'un autre devient plus lié, révélant pourquoi les éjections chaotiques se produisent.'],
92
+ ],
93
+ },
94
+ {
95
+ type: 'title',
96
+ text: 'Pourquoi les petits changements comptent',
97
+ level: 3,
98
+ },
99
+ {
100
+ type: 'paragraph',
101
+ html: 'Dans une orbite à deux corps, le centre de masse et l\'ellipse orbitale offrent une image géométrique stable. Dans un système à trois corps, les passages rapprochés agissent comme des négociations gravitationnelles: un corps peut emprunter de l\'énergie orbitale, changer brusquement de direction, ou convertir une boucle ordonnée en un événement de dispersion. Cette sensibilité explique pourquoi les systèmes astrophysiques réels tels que les étoiles triples, les rencontres planète-lune et les planétésimaux du système solaire primitif nécessitent souvent une intégration numérique plutôt qu\'une formule unique et simple.',
102
+ },
103
+ {
104
+ type: 'title',
105
+ text: 'Comment utiliser les diagnostics',
106
+ level: 3,
107
+ },
108
+ {
109
+ type: 'list',
110
+ items: [
111
+ '<strong>Énergie totale</strong> vous aide à juger si le système est lié et si l\'intégration numérique reste stable.',
112
+ '<strong>Intervalle de séparation</strong> montre les distances de paire les plus proches et les plus lointaines, rendant les quasi-collisions et les éjections faciles à repérer.',
113
+ '<strong>Centre de masse</strong> devrait rester relativement stable lorsque l\'impulsion initiale est équilibrée ; une dérive suggère une configuration intentionnellement asymétrique ou un vecteur de vitesse modifié.',
114
+ '<strong>Longueur de traînée</strong> révèle la structure à long terme: les traînées courtes mettent l\'accent sur l\'interaction en cours, tandis que les longues exposent les boucles répétitives et la précession orbitale lente.',
115
+ ],
116
+ },
117
+ {
118
+ type: 'title',
119
+ text: 'Modèle numérique utilisé dans l\'outil',
120
+ level: 3,
121
+ },
122
+ {
123
+ type: 'paragraph',
124
+ html: 'Le simulateur utilise l\'attraction newtonienne en carré inverse avec un petit terme d\'adoucissement qui évite les explosions visuelles lors de passages extrêmement rapprochés. Le mouvement est avancé avec un pas de type Verlet de vitesse, un choix courant pour les démonstrations orbitales car il gère le comportement énergétique mieux qu\'une simple mise à jour d\'Euler. Le résultat est un modèle éducatif réactif qui rend visible le comportement qualitatif du problème à trois corps sans prétendre remplacer les logiciels professionnels de mécanique céleste.',
125
+ },
126
+ ],
127
+ faq,
128
+ bibliography,
129
+ howTo,
130
+ schemas: [
131
+ {
132
+ '@context': 'https://schema.org',
133
+ '@type': 'SoftwareApplication',
134
+ name: title,
135
+ description,
136
+ applicationCategory: 'ScientificApplication',
137
+ operatingSystem: 'Any',
138
+ },
139
+ {
140
+ '@context': 'https://schema.org',
141
+ '@type': 'FAQPage',
142
+ mainEntity: faq.map((item) => ({
143
+ '@type': 'Question',
144
+ name: item.question,
145
+ acceptedAnswer: {
146
+ '@type': 'Answer',
147
+ text: item.answer,
148
+ },
149
+ })),
150
+ },
151
+ {
152
+ '@context': 'https://schema.org',
153
+ '@type': 'HowTo',
154
+ name: title,
155
+ step: howTo.map((step) => ({
156
+ '@type': 'HowToStep',
157
+ name: step.name,
158
+ text: step.text,
159
+ })),
160
+ },
161
+ ],
162
+ };
@@ -0,0 +1,162 @@
1
+ import { bibliography } from '../bibliography';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+
4
+ const slug = 'simulator-masalah-tiga-benda';
5
+ const title = 'Simulator Masalah Tiga Benda';
6
+ const description = 'Simulasikan tiga benda gravitasi dalam bidang dua dimensi dengan massa yang dapat diedit, vektor kecepatan, jejak, serta prasetel stabil atau kacau.';
7
+
8
+ const howTo = [
9
+ {
10
+ name: 'Pilih prasetel orbital',
11
+ text: 'Mulailah dengan orbit angka delapan untuk tolok ukur yang stabil, segitiga Lagrange untuk keseimbangan berotasi, atau prasetel ketapel untuk pertemuan yang tampak kacau.',
12
+ },
13
+ {
14
+ name: 'Sesuaikan massa dan vektor kecepatan',
15
+ text: 'Gunakan penggeser untuk setiap benda guna mengubah massa dan komponen kecepatan awal. Perubahan kecil dapat mempertahankan pola, mengubahnya, atau menghancurkannya sepenuhnya.',
16
+ },
17
+ {
18
+ name: 'Baca diagnostik',
19
+ text: 'Pantau energi total, jarak pisah terdekat dan terjauh, serta pusat massa untuk memahami apakah orbit numerik tetap terikat atau mulai menjauh.',
20
+ },
21
+ ];
22
+
23
+ const faq = [
24
+ {
25
+ question: 'Apa itu masalah tiga benda?',
26
+ answer: 'Masalah tiga benda menanyakan bagaimana tiga massa bergerak ketika setiap benda menarik dua benda lainnya secara gravitasi. Tidak seperti masalah dua benda, tidak ada persamaan bentuk tertutup umum yang menyelesaikan setiap kemungkinan konfigurasi, sehingga sebagian besar kasus praktis dieksplorasi dengan integrasi numerik.',
27
+ },
28
+ {
29
+ question: 'Mengapa orbit tiga benda tidak stabil?',
30
+ answer: 'Banyak sistem tiga benda sensitif terhadap kondisi awal. Perubahan kecil pada kecepatan, posisi, atau massa mengubah waktu pertemuan dekat, dan pertemuan tersebut dapat saling bertukar energi secara dramatis. Hasilnya adalah sistem yang mungkin tetap terikat untuk sementara waktu dan kemudian tiba-tiba mengeluarkan satu benda.',
31
+ },
32
+ {
33
+ question: 'Apa yang ditunjukkan oleh prasetel angka delapan?',
34
+ answer: 'Prasetel angka delapan adalah solusi periodik terkenal untuk tiga massa yang sama. Setiap benda mengikuti jalur yang sama dengan pergeseran fase, menunjukkan bahwa masalah tiga benda dapat mengandung pulau-pulau stabil yang elegan di dalam lanskap kacau yang jauh lebih besar.',
35
+ },
36
+ {
37
+ question: 'Apakah ini simulator astronomi yang akurat secara fisik?',
38
+ answer: 'Alat ini menggunakan model Newton yang dilunakkan dan langkah Verlet kecepatan simplektik sehingga gerakannya terasa setia dan stabil untuk pembelajaran. Alat ini dirancang untuk eksplorasi interaktif daripada prediksi ephemeris berpresisi tinggi.',
39
+ },
40
+ {
41
+ question: 'Bagaimana cara menafsirkan energi total?',
42
+ answer: 'Energi total negatif biasanya menunjukkan sistem yang terikat, sementara energi yang mendekati nol dapat memudahkan pelepasan. Dalam simulasi numerik, penyimpangan energi yang besar juga memperingatkan bahwa langkah waktu atau geometri pertemuan membebani integrator.',
43
+ },
44
+ ];
45
+
46
+ export const content: ToolLocaleContent = {
47
+ slug,
48
+ title,
49
+ description,
50
+ ui: {
51
+ title,
52
+ kicker: 'Laboratorium kekacauan gravitasi',
53
+ canvasLabel: 'Kanvas orbit tiga benda interaktif dua dimensi',
54
+ presetsLabel: 'Prasetel orbital',
55
+ figureEightPreset: 'Angka delapan',
56
+ lagrangePreset: 'Segitiga Lagrange',
57
+ slingshotPreset: 'Ketapel',
58
+ pauseButton: 'Jeda',
59
+ playButton: 'Putar',
60
+ resetButton: 'Setel ulang',
61
+ speedLabel: 'Kecepatan simulasi',
62
+ trailLabel: 'Panjang jejak',
63
+ massLabel: 'Massa',
64
+ velocityXLabel: 'Kecepatan X',
65
+ velocityYLabel: 'Kecepatan Y',
66
+ energyLabel: 'Energi total',
67
+ separationLabel: 'Rentang pisah',
68
+ centerMassLabel: 'Pusat massa',
69
+ },
70
+ seo: [
71
+ {
72
+ type: 'title',
73
+ text: 'Simulator Masalah Tiga Benda Interaktif untuk Kekacauan Orbital',
74
+ level: 2,
75
+ },
76
+ {
77
+ type: 'paragraph',
78
+ html: 'Masalah tiga benda adalah salah satu demonstrasi paling jelas bahwa hukum sederhana dapat menghasilkan gerakan yang rumit. Gravitasi Newton memberikan aturan gaya yang ringkas, tetapi begitu benda masif ketiga bergabung ke dalam sistem, setiap orbit terus-menerus membentuk kembali dua orbit lainnya. Simulator ini memungkinkan Anda bereksperimen langsung dengan ketidakstabilan tersebut: pilih konfigurasi yang dikenal, sesuaikan massa dan vektor kecepatan, dan amati apakah benda-benda tersebut membentuk orbit berulang, segitiga berotasi, atau peristiwa hamburan kacau.',
79
+ },
80
+ {
81
+ type: 'title',
82
+ text: 'Apa yang Ditunjukkan oleh Prasetel',
83
+ level: 3,
84
+ },
85
+ {
86
+ type: 'table',
87
+ headers: ['Prasetel', 'Ide fisika', 'Apa yang diamati'],
88
+ rows: [
89
+ ['<strong>Angka delapan</strong>', 'Solusi periodik massa sama di mana ketiga benda berbagi lingkaran yang sama.', 'Orbit tetap terorganisir hanya ketika simetri dan keseimbangan kecepatan dipertahankan dengan hati-hati.'],
90
+ ['<strong>Segitiga Lagrange</strong>', 'Tiga benda menempati segitiga sama sisi yang berputar di sekitar pusat massa.', 'Keseimbangan massa dan kecepatan tangensial mencegah segitiga runtuh ke dalam.'],
91
+ ['<strong>Ketapel</strong>', 'Pertemuan dekat mentransfer energi antar benda.', 'Satu benda dapat memperoleh kecepatan sementara benda lain menjadi lebih terikat, mengungkapkan mengapa ejeksi kacau terjadi.'],
92
+ ],
93
+ },
94
+ {
95
+ type: 'title',
96
+ text: 'Mengapa Perubahan Kecil Penting',
97
+ level: 3,
98
+ },
99
+ {
100
+ type: 'paragraph',
101
+ html: 'Dalam orbit dua benda, pusat massa dan elips orbital memberikan gambaran geometris yang stabil. Dalam sistem tiga benda, lintasan dekat bertindak seperti negosiasi gravitasi: sebuah benda dapat meminjam energi orbital, mengubah arah secara tajam, atau mengubah lingkaran teratur menjadi peristiwa hamburan. Sensitivitas itulah mengapa sistem astrofisika nyata seperti bintang tiga, pertemuan planet-bulan, dan planetesimal tata surya awal sering memerlukan integrasi numerik daripada satu rumus sederhana.',
102
+ },
103
+ {
104
+ type: 'title',
105
+ text: 'Cara Menggunakan Diagnostik',
106
+ level: 3,
107
+ },
108
+ {
109
+ type: 'list',
110
+ items: [
111
+ '<strong>Energi total</strong> membantu Anda menilai apakah sistem terikat dan apakah integrasi numerik tetap stabil.',
112
+ '<strong>Rentang pisah</strong> menunjukkan jarak pasangan terdekat dan terjauh, membuat hampir tabrakan dan ejeksi mudah dikenali.',
113
+ '<strong>Pusat massa</strong> harus tetap relatif stabil ketika momentum awal seimbang; penyimpangan menunjukkan pengaturan yang sengaja asimetris atau vektor kecepatan yang diubah.',
114
+ '<strong>Panjang jejak</strong> mengungkapkan struktur jangka panjang: jejak pendek menekankan interaksi saat ini, sementara jejak panjang mengekspos lingkaran berulang dan presesi orbital lambat.',
115
+ ],
116
+ },
117
+ {
118
+ type: 'title',
119
+ text: 'Model Numerik yang Digunakan dalam Alat',
120
+ level: 3,
121
+ },
122
+ {
123
+ type: 'paragraph',
124
+ html: 'Simulator ini menggunakan tarikan kuadrat terbalik Newton dengan istilah pelunakan kecil yang mencegah ledakan visual selama lintasan yang sangat dekat. Gerakan dimajukan dengan langkah Verlet kecepatan, pilihan umum untuk demonstrasi orbital karena menangani perilaku energi lebih baik daripada pembaruan Euler sederhana. Hasilnya adalah model pendidikan responsif yang membuat perilaku kualitatif masalah tiga benda terlihat tanpa berpura-pura menggantikan perangkat lunak mekanika langit profesional.',
125
+ },
126
+ ],
127
+ faq,
128
+ bibliography,
129
+ howTo,
130
+ schemas: [
131
+ {
132
+ '@context': 'https://schema.org',
133
+ '@type': 'SoftwareApplication',
134
+ name: title,
135
+ description,
136
+ applicationCategory: 'ScientificApplication',
137
+ operatingSystem: 'Any',
138
+ },
139
+ {
140
+ '@context': 'https://schema.org',
141
+ '@type': 'FAQPage',
142
+ mainEntity: faq.map((item) => ({
143
+ '@type': 'Question',
144
+ name: item.question,
145
+ acceptedAnswer: {
146
+ '@type': 'Answer',
147
+ text: item.answer,
148
+ },
149
+ })),
150
+ },
151
+ {
152
+ '@context': 'https://schema.org',
153
+ '@type': 'HowTo',
154
+ name: title,
155
+ step: howTo.map((step) => ({
156
+ '@type': 'HowToStep',
157
+ name: step.name,
158
+ text: step.text,
159
+ })),
160
+ },
161
+ ],
162
+ };
@@ -0,0 +1,162 @@
1
+ import { bibliography } from '../bibliography';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+
4
+ const slug = 'simulatore-problema-tre-corpi';
5
+ const title = 'Simulatore del Problema dei Tre Corpi';
6
+ const description = 'Simula tre corpi gravitazionali in un piano bidimensionale con masse modificabili, vettori di velocità, scie e preset stabili o caotici.';
7
+
8
+ const howTo = [
9
+ {
10
+ name: 'Scegli un preset orbitale',
11
+ text: 'Inizia con l\'orbita a figura otto per un riferimento stabile, il triangolo di Lagrange per un equilibrio rotante o il preset di fionda per un incontro visibilmente caotico.',
12
+ },
13
+ {
14
+ name: 'Regola masse e vettori di velocità',
15
+ text: 'Usa i cursori per ogni corpo per modificare la massa e le componenti iniziali della velocità. Piccoli cambiamenti possono preservare uno schema, deformarlo o distruggerlo completamente.',
16
+ },
17
+ {
18
+ name: 'Leggi i diagnostici',
19
+ text: 'Osserva l\'energia totale, la separazione minima e massima e il centro di massa per capire se l\'orbita numerica rimane limitata o si sta disgregando.',
20
+ },
21
+ ];
22
+
23
+ const faq = [
24
+ {
25
+ question: 'Cos\'è il problema dei tre corpi?',
26
+ answer: 'Il problema dei tre corpi chiede come si muovono tre masse quando ciascun corpo attrae gravitazionalmente gli altri due. A differenza del problema dei due corpi, non esiste un\'equazione generale in forma chiusa che risolva ogni possibile configurazione, quindi la maggior parte dei casi pratici viene esplorata con integrazione numerica.',
27
+ },
28
+ {
29
+ question: 'Perché le orbite a tre corpi sono instabili?',
30
+ answer: 'Molti sistemi a tre corpi sono sensibili alle condizioni iniziali. Un minuscolo cambiamento di velocità, posizione o massa altera la tempistica degli incontri ravvicinati, e questi incontri possono scambiare energia in modo drammatico. Il risultato è un sistema che può rimanere limitato per un po\' e poi espellere improvvisamente un corpo.',
31
+ },
32
+ {
33
+ question: 'Cosa mostra il preset a figura otto?',
34
+ answer: 'Il preset a figura otto è una famosa soluzione periodica per tre masse uguali. Ogni corpo segue lo stesso percorso con uno sfasamento, dimostrando che il problema dei tre corpi può contenere eleganti isole stabili all\'interno di un paesaggio caotico molto più ampio.',
35
+ },
36
+ {
37
+ question: 'Questo è un simulatore astronomico fisicamente esatto?',
38
+ answer: 'Questo strumento utilizza un modello newtoniano smorzato e un passo di tipo Verlet di velocità simplettico in modo che il movimento sia fedele e stabile per l\'apprendimento. È progettato per l\'esplorazione interattiva piuttosto che per la previsione di effemeridi ad alta precisione.',
39
+ },
40
+ {
41
+ question: 'Come dovrei interpretare l\'energia totale?',
42
+ answer: 'L\'energia totale negativa di solito indica un sistema legato, mentre un\'energia vicina allo zero può facilitare la fuga. In una simulazione numerica, una grande deriva energetica avverte anche che il passo temporale o la geometria dell\'incontro stanno sollecitando l\'integratore.',
43
+ },
44
+ ];
45
+
46
+ export const content: ToolLocaleContent = {
47
+ slug,
48
+ title,
49
+ description,
50
+ ui: {
51
+ title,
52
+ kicker: 'Laboratorio di caos gravitazionale',
53
+ canvasLabel: 'Tela interattiva bidimensionale per orbita a tre corpi',
54
+ presetsLabel: 'Preset orbitali',
55
+ figureEightPreset: 'Figura a otto',
56
+ lagrangePreset: 'Triangolo di Lagrange',
57
+ slingshotPreset: 'Fionda',
58
+ pauseButton: 'Pausa',
59
+ playButton: 'Riproduci',
60
+ resetButton: 'Reimposta',
61
+ speedLabel: 'Velocità di simulazione',
62
+ trailLabel: 'Lunghezza scia',
63
+ massLabel: 'Massa',
64
+ velocityXLabel: 'Velocità X',
65
+ velocityYLabel: 'Velocità Y',
66
+ energyLabel: 'Energia totale',
67
+ separationLabel: 'Intervallo di separazione',
68
+ centerMassLabel: 'Centro di massa',
69
+ },
70
+ seo: [
71
+ {
72
+ type: 'title',
73
+ text: 'Simulatore interattivo del problema dei tre corpi per il caos orbitale',
74
+ level: 2,
75
+ },
76
+ {
77
+ type: 'paragraph',
78
+ html: 'Il problema dei tre corpi è una delle dimostrazioni più chiare che leggi semplici possano produrre moti complicati. La gravità newtoniana fornisce una regola di forza compatta, ma nel momento in cui un terzo corpo massivo si unisce al sistema, ogni orbita rimodella continuamente le altre due. Questo simulatore ti permette di sperimentare direttamente quell\'instabilità: scegli una configurazione nota, regola masse e vettori di velocità e osserva se i corpi formano un\'orbita ripetitiva, un triangolo rotante o un evento di dispersione caotica.',
79
+ },
80
+ {
81
+ type: 'title',
82
+ text: 'Cosa dimostrano i preset',
83
+ level: 3,
84
+ },
85
+ {
86
+ type: 'table',
87
+ headers: ['Preset', 'Idea fisica', 'Cosa osservare'],
88
+ rows: [
89
+ ['<strong>Figura a otto</strong>', 'Una soluzione periodica a masse uguali in cui tutti e tre i corpi condividono lo stesso anello.', 'L\'orbita rimane organizzata solo quando simmetria ed equilibrio di velocità sono accuratamente preservati.'],
90
+ ['<strong>Triangolo di Lagrange</strong>', 'Tre corpi occupano un triangolo equilatero che ruota attorno al centro di massa.', 'L\'equilibrio delle masse e la velocità tangenziale impediscono al triangolo di collassare verso l\'interno.'],
91
+ ['<strong>Fionda</strong>', 'Un incontro ravvicinato trasferisce energia tra i corpi.', 'Un corpo può guadagnare velocità mentre un altro diventa più strettamente legato, rivelando perché si verificano le espulsioni caotiche.'],
92
+ ],
93
+ },
94
+ {
95
+ type: 'title',
96
+ text: 'Perché i piccoli cambiamenti contano',
97
+ level: 3,
98
+ },
99
+ {
100
+ type: 'paragraph',
101
+ html: 'In un\'orbita a due corpi, il centro di massa e l\'ellisse orbitale forniscono un\'immagine geometrica stabile. In un sistema a tre corpi, i passaggi ravvicinati agiscono come negoziazioni gravitazionali: un corpo può prendere in prestito energia orbitale, cambiare bruscamente direzione o convertire un anello ordinato in un evento di dispersione. Questa sensibilità è il motivo per cui i sistemi astrofisici reali come stelle triple, incontri pianeta-luna e planetesimi del primo sistema solare spesso richiedono integrazione numerica piuttosto che una singola formula semplice.',
102
+ },
103
+ {
104
+ type: 'title',
105
+ text: 'Come usare i diagnostici',
106
+ level: 3,
107
+ },
108
+ {
109
+ type: 'list',
110
+ items: [
111
+ '<strong>Energia totale</strong> ti aiuta a giudicare se il sistema è legato e se l\'integrazione numerica rimane stabile.',
112
+ '<strong>Intervallo di separazione</strong> mostra le distanze di coppia più vicine e più lontane, rendendo facili da individuare quasi-collisioni ed espulsioni.',
113
+ '<strong>Centro di massa</strong> dovrebbe rimanere relativamente stabile quando l\'impulso iniziale è bilanciato; una deriva suggerisce una configurazione intenzionalmente asimmetrica o un vettore di velocità modificato.',
114
+ '<strong>Lunghezza scia</strong> rivela la struttura a lungo termine: scie corte enfatizzano l\'interazione attuale, mentre scie lunghe espongono anelli ripetitivi e lenta precessione orbitale.',
115
+ ],
116
+ },
117
+ {
118
+ type: 'title',
119
+ text: 'Modello numerico usato nello strumento',
120
+ level: 3,
121
+ },
122
+ {
123
+ type: 'paragraph',
124
+ html: 'Il simulatore usa l\'attrazione newtoniana a quadrato inverso con un piccolo termine di softening che previene esplosioni visive durante passaggi estremamente ravvicinati. Il moto viene avanzato con un passo di tipo Verlet di velocità, una scelta comune per dimostrazioni orbitali perché gestisce il comportamento energetico meglio di un semplice aggiornamento di Eulero. Il risultato è un modello educativo reattivo che rende visibile il comportamento qualitativo del problema dei tre corpi senza pretendere di sostituire il software professionale di meccanica celeste.',
125
+ },
126
+ ],
127
+ faq,
128
+ bibliography,
129
+ howTo,
130
+ schemas: [
131
+ {
132
+ '@context': 'https://schema.org',
133
+ '@type': 'SoftwareApplication',
134
+ name: title,
135
+ description,
136
+ applicationCategory: 'ScientificApplication',
137
+ operatingSystem: 'Any',
138
+ },
139
+ {
140
+ '@context': 'https://schema.org',
141
+ '@type': 'FAQPage',
142
+ mainEntity: faq.map((item) => ({
143
+ '@type': 'Question',
144
+ name: item.question,
145
+ acceptedAnswer: {
146
+ '@type': 'Answer',
147
+ text: item.answer,
148
+ },
149
+ })),
150
+ },
151
+ {
152
+ '@context': 'https://schema.org',
153
+ '@type': 'HowTo',
154
+ name: title,
155
+ step: howTo.map((step) => ({
156
+ '@type': 'HowToStep',
157
+ name: step.name,
158
+ text: step.text,
159
+ })),
160
+ },
161
+ ],
162
+ };
@@ -0,0 +1,162 @@
1
+ import { bibliography } from '../bibliography';
2
+ import type { ToolLocaleContent } from '../../../types';
3
+
4
+ const slug = 'three-body-problem-simulator';
5
+ const title = '三体問題シミュレーター';
6
+ const description = '質量、速度ベクトル、軌跡が編集可能な2次元平面上で、3つの重力体をシミュレーションします。安定またはカオス的なプリセットも備えています。';
7
+
8
+ const howTo = [
9
+ {
10
+ name: '軌道プリセットを選ぶ',
11
+ text: '安定したベンチマークとしての8字軌道、回転平衡のラグランジュ三角形、または視覚的にカオス的な遭遇を示すスリングショットプリセットから始めましょう。',
12
+ },
13
+ {
14
+ name: '質量と速度ベクトルを調整する',
15
+ text: '各ボディのスライダーを使って質量と初速度成分を変更します。小さな変更でもパターンを維持したり、変形させたり、完全に破壊したりできます。',
16
+ },
17
+ {
18
+ name: '診断値を読む',
19
+ text: '総エネルギー、最接近距離と最大離隔距離、重心を監視して、数値軌道が有界に保たれているか、あるいは崩壊しつつあるかを把握しましょう。',
20
+ },
21
+ ];
22
+
23
+ const faq = [
24
+ {
25
+ question: '三体問題とは何ですか?',
26
+ answer: '三体問題とは、3つの質量体が互いに重力で引き合うときにどのように運動するかを問う問題です。二体問題とは異なり、あらゆる可能な配置を解く一般的な閉形式の方程式は存在しないため、実際のほとんどのケースは数値積分によって探索されます。',
27
+ },
28
+ {
29
+ question: '三体軌道が不安定なのはなぜですか?',
30
+ answer: '多くの三体系は初期条件に敏感です。速度、位置、質量のわずかな変化が接近遭遇のタイミングを変え、その遭遇によってエネルギーが劇的に交換されることがあります。その結果、しばらくは有界に保たれていても、突然1つのボディを放出するシステムが生まれます。',
31
+ },
32
+ {
33
+ question: '8字プリセットは何を示していますか?',
34
+ answer: '8字プリセットは、3つの等しい質量に対する有名な周期解です。各ボディは位相オフセットを持って同じ経路をたどり、三体問題がはるかに大きなカオス的景観の中に優雅で安定した島々を含み得ることを示しています。',
35
+ },
36
+ {
37
+ question: 'これは物理的に正確な天文学シミュレーターですか?',
38
+ answer: 'このツールは、学習のために運動が忠実で安定に感じられるよう、ソフト化されたニュートンモデルとシンプレクティックな速度ベルレ法を使用しています。高精度の天体暦予測ではなく、インタラクティブな探索用に設計されています。',
39
+ },
40
+ {
41
+ question: '総エネルギーはどのように解釈すべきですか?',
42
+ answer: '総エネルギーが負の場合は通常、有界な系を示し、ゼロに近いエネルギーは脱出を容易にします。数値シミュレーションでは、大きなエネルギー変動は時間ステップや遭遇形状が積分器に負荷をかけていることを警告します。',
43
+ },
44
+ ];
45
+
46
+ export const content: ToolLocaleContent = {
47
+ slug,
48
+ title,
49
+ description,
50
+ ui: {
51
+ title,
52
+ kicker: '重力カオス実験室',
53
+ canvasLabel: 'インタラクティブな2次元三体軌道キャンバス',
54
+ presetsLabel: '軌道プリセット',
55
+ figureEightPreset: '8字',
56
+ lagrangePreset: 'ラグランジュ三角形',
57
+ slingshotPreset: 'スリングショット',
58
+ pauseButton: '一時停止',
59
+ playButton: '再生',
60
+ resetButton: 'リセット',
61
+ speedLabel: 'シミュレーション速度',
62
+ trailLabel: '軌跡の長さ',
63
+ massLabel: '質量',
64
+ velocityXLabel: '速度 X',
65
+ velocityYLabel: '速度 Y',
66
+ energyLabel: '総エネルギー',
67
+ separationLabel: '分離範囲',
68
+ centerMassLabel: '重心',
69
+ },
70
+ seo: [
71
+ {
72
+ type: 'title',
73
+ text: '軌道カオスのためのインタラクティブ三体問題シミュレーター',
74
+ level: 2,
75
+ },
76
+ {
77
+ type: 'paragraph',
78
+ html: '三体問題は、単純な法則が複雑な運動を生み出すことを示す最も明確なデモンストレーションの一つです。ニュートン重力はコンパクトな力の規則を与えますが、3つ目の質量体が系に加わるとすぐに、各軌道が他の2つを継続的に変形させます。このシミュレーターを使えば、その不安定性を直接実験できます。既知の配置を選び、質量と速度ベクトルを調整し、ボディが反復軌道、回転三角形、またはカオス的な散乱イベントを形成するかどうかを観察しましょう。',
79
+ },
80
+ {
81
+ type: 'title',
82
+ text: 'プリセットが示すもの',
83
+ level: 3,
84
+ },
85
+ {
86
+ type: 'table',
87
+ headers: ['プリセット', '物理的アイデア', '注目ポイント'],
88
+ rows: [
89
+ ['<strong>8字</strong>', '3つのボディすべてが同じループを共有する等質量周期解。', '対称性と速度バランスが注意深く保たれた場合にのみ、軌道は組織化された状態を維持します。'],
90
+ ['<strong>ラグランジュ三角形</strong>', '3つのボディが重心の周りを回転する正三角形を占める。', '質量バランスと接線速度が三角形の内側への崩壊を防ぎます。'],
91
+ ['<strong>スリングショット</strong>', '接近遭遇がボディ間でエネルギーを転送する。', '1つのボディが加速する一方で別のボディがより強く束縛され、カオス的な放出がなぜ起こるかが明らかになります。'],
92
+ ],
93
+ },
94
+ {
95
+ type: 'title',
96
+ text: '小さな変更が重要な理由',
97
+ level: 3,
98
+ },
99
+ {
100
+ type: 'paragraph',
101
+ html: '二体軌道では、重心と軌道楕円が安定した幾何学的イメージを提供します。三体系では、接近通過は重力の交渉のように機能します。ボディは軌道エネルギーを借り、急激に方向を変え、秩序だったループを散乱イベントに変えることができます。この感度こそ、連星、惑星・月の遭遇、初期太陽系の微惑星などの実際の天体物理学的システムが、単一の簡単な式ではなく数値積分を必要とすることが多い理由です。',
102
+ },
103
+ {
104
+ type: 'title',
105
+ text: '診断値の使い方',
106
+ level: 3,
107
+ },
108
+ {
109
+ type: 'list',
110
+ items: [
111
+ '<strong>総エネルギー</strong>は、系が有界かどうか、数値積分が安定しているかどうかを判断するのに役立ちます。',
112
+ '<strong>分離範囲</strong>は最も近いペア距離と最も遠いペア距離を示し、衝突寸前の状況や放出を簡単に特定できます。',
113
+ '<strong>重心</strong>は初期運動量がバランスしているときに比較的安定しているはずです。ドリフトは意図的に非対称な設定や速度ベクトルの変更を示唆します。',
114
+ '<strong>軌跡の長さ</strong>は長期的な構造を明らかにします。短い軌跡は現在の相互作用を強調し、長い軌跡は反復ループとゆっくりとした軌道歳差運動を露呈します。',
115
+ ],
116
+ },
117
+ {
118
+ type: 'title',
119
+ text: 'ツールで使用されている数値モデル',
120
+ level: 3,
121
+ },
122
+ {
123
+ type: 'paragraph',
124
+ html: 'シミュレーターは、非常に接近した通過時の視覚的な爆発を防ぐ小さなソフトニング項を備えたニュートン逆二乗引力を使用しています。運動は速度ベルレ法で進行します。これは、単純なオイラー更新よりもエネルギー挙動を適切に扱うため、軌道デモンストレーションで一般的な選択です。結果として、プロの天体力学ソフトウェアを置き換えることなく、三体問題の定性的な振る舞いを可視化する応答性の高い教育モデルが実現しています。',
125
+ },
126
+ ],
127
+ faq,
128
+ bibliography,
129
+ howTo,
130
+ schemas: [
131
+ {
132
+ '@context': 'https://schema.org',
133
+ '@type': 'SoftwareApplication',
134
+ name: title,
135
+ description,
136
+ applicationCategory: 'ScientificApplication',
137
+ operatingSystem: 'Any',
138
+ },
139
+ {
140
+ '@context': 'https://schema.org',
141
+ '@type': 'FAQPage',
142
+ mainEntity: faq.map((item) => ({
143
+ '@type': 'Question',
144
+ name: item.question,
145
+ acceptedAnswer: {
146
+ '@type': 'Answer',
147
+ text: item.answer,
148
+ },
149
+ })),
150
+ },
151
+ {
152
+ '@context': 'https://schema.org',
153
+ '@type': 'HowTo',
154
+ name: title,
155
+ step: howTo.map((step) => ({
156
+ '@type': 'HowToStep',
157
+ name: step.name,
158
+ text: step.text,
159
+ })),
160
+ },
161
+ ],
162
+ };