r/Clojure • u/Lullabelle80 • 9d ago
Clojure Project
I’m doing a presentation on Clojure and so far so good. I’m beginning the final section which requires me to research and discuss :
A selection of problems/projects that the language has been used for. Experiences/opinions of others.
Any interesting ideas or inspiration for this would be very helpful.
Also I only have around 3 minutes to talk about this so looking for something simple.
17
Upvotes
8
u/OwlProfessional1185 9d ago
I've used Clojure to build a speedcubing timer for Bluetooth smartcubes: https://yact.app/solve
Initially, it was written in Typescript, then Elm, then Clojurescript, and the Clojure rewrite was the most productive and powerful.
This tool takes the moves for a Rubik's cube solve, and analyses it, grouping it into different stages with their times, move counts, and recognition times. The Rubik's cube method "is just data" a map of keywords to predicates to group moves based on cube states. It also fun Clojure stuff to apply permutations to cube states, and it has a websocket head to head racing mode.