GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    iced depresso (icedquinn@blob.cat)'s status on Friday, 17-Nov-2023 10:36:06 JST iced depresso iced depresso
    tonights pain: getting axial coordinates on these hexes :blobcatpain:
    In conversation Friday, 17-Nov-2023 10:36:06 JST from blob.cat permalink
    • Embed this notice
      iced depresso (icedquinn@blob.cat)'s status on Friday, 17-Nov-2023 11:15:33 JST iced depresso iced depresso
      in reply to
      it turned out i understood the math i just slot the wrong values in to the vectors. it was reading <q,s,r> and calculating r instead of <q,r,s> and calculating s :blobcatgooglybadumtss:

      well. i just switched the components around. worky now.
      In conversation Friday, 17-Nov-2023 11:15:33 JST permalink

      Attachments


      1. https://s3.v5.yokai.cafe/blobcatfiles/eca567bf8899581db1886c13ac4e8d650485d0a5bf57db66063720841d88f3fa.webp
      Doughnut Lollipop 【記録係】:blobfoxgooglymlem: likes this.
    • Embed this notice
      iced depresso (icedquinn@blob.cat)'s status on Friday, 17-Nov-2023 11:23:07 JST iced depresso iced depresso
      in reply to
      • Adam Nelson
      @arnelson :blobcatwaitwhat2: why though

      i guess if you were really trying to compress the coordinates
      In conversation Friday, 17-Nov-2023 11:23:07 JST permalink
    • Embed this notice
      Adam Nelson (arnelson@fosstodon.org)'s status on Friday, 17-Nov-2023 11:23:08 JST Adam Nelson Adam Nelson
      in reply to

      @icedquinn For extra fun, try Gosper spiral coordinates--represent each hex with one number!

      Also known as spiral honeycomb mosaic: https://gamedev.stackexchange.com/questions/71785/converting-between-spiral-honeycomb-mosaic-and-axial-hex-coordinates

      (Someday I'll find the motivation to work on my hex-based Terraria clone engine again...)

      In conversation Friday, 17-Nov-2023 11:23:08 JST permalink

      Attachments


      iced depresso likes this.
    • Embed this notice
      Adam Nelson (arnelson@fosstodon.org)'s status on Friday, 17-Nov-2023 11:26:08 JST Adam Nelson Adam Nelson
      in reply to

      @icedquinn Memory locality, mostly. If you store all of your hexes in a big 1D array in Gosper order then nearby hexes are usually nearby in the array.

      But also just because it's cool.

      In conversation Friday, 17-Nov-2023 11:26:08 JST permalink
      iced depresso likes this.
    • Embed this notice
      iced depresso (icedquinn@blob.cat)'s status on Friday, 17-Nov-2023 11:38:14 JST iced depresso iced depresso
      in reply to
      other non-fun events (i have one caffiene bottle left) involve randomly picking a hex and doing the random walks. although there may be quite an easy way to cheese those.

      gah i wish i had the updated nim binding. writing this stuff in gdscript is bleh
      In conversation Friday, 17-Nov-2023 11:38:14 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.