DĂ©fi Grasshopper : 🔐Analyse de geste pour un digicode🔐
French
Je vous propose un petit défi de programmation sur Grasshopper pour tester votre logique et votre créativité.
🎯 Objectif :
CrĂ©er une dĂ©finition Grasshopper capable d’analyser un geste de dĂ©verrouillage simulĂ© par une courbe (le mouvement du doigt sur un digicode). Le script devra comparer cette courbe avec un code prĂ©dĂ©fini et dĂ©terminer si le geste correspond au bon code.
Contraintes :
- Définir une grille de points représentant les touches du digicode
- Interpréter la courbe comme un parcours entre ces points
- DĂ©tecter l’ordre de passage des touches
- Comparer la séquence obtenue avec le code correct
- Retourner un rĂ©sultat : ✅ / ❌
Curieux de voir vos approches : logique géométrique, analyse de proximité, ou autre stratégie ?
Partagez vos définitions, captures ou vidéos du résultat
English
I propose a small programming challenge on Grasshopper to test your logic and creativity.
🎯 Objective:Create a Grasshopper definition capable of analyzing an unlock gesture simulated by a curve (the movement of a finger on a keypad). The script should compare this curve with a predefined code and determine whether the gesture matches the correct code.
Constraints:
  • Define a grid of points representing the keypad buttons
  • Interpret the curve as a path between these points
  • Detect the order in which the buttons are passed
  • Compare the obtained sequence with the correct code
  • Return a result: ✅ / ❌
I’m curious to see your approaches: geometric logic, proximity analysis, or another strategy.
Feel free to share your definitions, screenshots, or videos of the result.
1
5 comments
Aurélien Blanc
2
DĂ©fi Grasshopper : 🔐Analyse de geste pour un digicode🔐
powered by
Grasshopper3D Challenge
skool.com/grasshopper3d-lab-6917
Stop watching tutorials.
Learn Grasshopper by solving real design challenges.
Join FREE today.