Amidakuji Generator
Create an animated ladder lottery (Ghost Leg).
Share the URL so everyone can draw lots on their own phones.
À propos
Easily create an "Amidakuji" (Ladder Lottery) in your browser. Perfect for deciding who pays the bill, assigning tasks, or exchanging gifts.
Just input the participant names and possible results. The ladder is generated automatically. The animated tracing adds suspense and excitement!
You can share the generated ladder via a URL link, allowing friends and colleagues to trace their own paths on their smartphones.
Comment utiliser
Input Data
List participants and results (one per line). Both lists must have the same number of items.
Draw Lots
Click 'Create' to see the ladder. Tap a name at the top to watch the animated path down to the hidden result.
Share with URL
Click 'Share' to copy an encoded link. Send it to friends so they can draw on their own devices.
Glossaire
- Amidakuji (Ghost Leg)
- A traditional Japanese lottery method consisting of vertical lines and horizontal connecting "bridges." Participants choose a top starting point and follow the line downwards; every time they hit a horizontal bridge, they must turn horizontally to the adjacent vertical line, eventually reaching a hidden result at the bottom. It guarantees a fair, 1-to-1 mapping of inputs to outputs.
- Horizontal Lines (Bridges)
- The rungs connecting adjacent vertical lines in an Amidakuji. These bridges alter the path, creating unpredictable results.
- Random Generation
- A feature that uses a program to randomly determine the position and number of horizontal lines. Unlike hand-drawn ladders which can show bias, this ensures a perfectly balanced and fair distribution.
- Animated Tracing
- A visual feature that tracks the path from the starting point to the result. It displays the movement along the lines in real-time, building anticipation before revealing the outcome.
- Canvas Rendering
- A technology using the HTML5 Canvas element to draw the Amidakuji lines and animations directly in the browser, providing instant results without requiring server communication.
- Participant Setup
- The function to set the number of people participating in the draw and their names. You can also customize the number of winning (prizes) and losing outcomes freely.
- Result Fairness
- Mathematically, an Amidakuji is equivalent to a "permutation." Provided the placement of horizontal lines is sufficiently random, it is algebraically guaranteed that every participant has an equal probability of reaching any given outcome.
FAQ
- Q.Les résultats Amidakuji sont-ils envoyés à un navigateur ?
- Non. Toutes les générations, dessins et calculs de résultats sont entièrement effectués dans votre navigateur. Les noms des participants et les résultats ne sont jamais envoyés à nos navigateurs.
- Q.Y a-t-il une limite au nombre de participants ?
- Nous recommandons d'utiliser 2 à 20 participants pour un visionnage optimal. Il est techniquement possible d'en avoir plus, mais les lignes risquent de devenir trop denses et difficiles à lire.
- Q.Le résultat est-il vraiment aléatoire ?
- Oui. Les positions des lignes horizontales sont déterminées par la génération de nombres aléatoires de JavaScript, ce qui donne un tirage parfaitement équitable et sans biais, contrairement à ceux dessinés à la main.
- Q.Puis-je refaire le tirage ?
- Oui. En cliquant sur le bouton "Modifier", vous pouvez générer un nouvel arrangement de lignes horizontales et effectuer instantanément un autre tirage.
- Q.Puis-je l'utiliser depuis un smartphone ?
- Oui. Il prend en charge les opérations tactiles et peut être utilisé sur le navigateur de votre smartphone ou de votre tablette. Il est parfait pour les situations immédiates comme les soirées beuveries ou les changements de siège en classe.
- Q.Puis-je enregistrer les résultats Amidakuji sous forme d’image ?
- Oui. Une fois les résultats affichés, vous pouvez utiliser la fonction d'enregistrement d'image pour enregistrer l'intégralité du diagramme Amidakuji sous forme d'image PNG.
- Q.Puis-je modifier le nombre de « gagnants » et de « perdants » ?
- Oui. Vous pouvez librement définir les prix ou les rôles. Outre « Gagnant » ou « Perdant », vous pouvez saisir un texte personnalisé pour s'adapter à une grande variété de tirages.
Cas d'utilisation
Payer la facture
Turn deciding who pays the restaurant bill into a fun mini-game.
Affectation des tâches
Assign chores, presentation order, or roles randomly and fairly.
Père Noël secret / Échange de cadeaux
Determine who gives a gift to whom using the ladder.