home.social

#ilovemath — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #ilovemath, aggregated by home.social.

  1. Here, 0.08 is the detent strength, or how quickly it snaps into place. This is a tunable variable to get the right feel.
    So as sin rises to +1, stickiness lags ring_spin and it feels sticky. As sin returns to 0, the ring spins freely. As sin falls to -1, stickiness lags ring_spin and it snaps home.
    hexword.mubergapps.com
    #ilovemath #gamedev #indiedev #mathisbeautiful #sinwave #reactnative #puzzlegame #hexword

  2. My HexWord puzzle uses hex flowers and hex rings. A flower refers to the center hex and its 6 adjacent hexes, while a hex ring is just the 6 adjacent hexes without the center hex.
    Anyway, I wanted a physically tactile feel to spinning the ring. Like a combination lock. Sticky at the notch. Free in transit. And magnetic (snaps home) as it locks.
    #ilovemath #gamedev #indiedev #mathisbeautiful #sinwave #reactnative #puzzlegame #hexword