home.social

#bitmasking — Public Fediverse posts

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

  1. #Truchet / bitmasking in 8 bits in progress. The grid is now complete and uses a set of 15 tiles. It's not easy to map the values ​​correctly. Next improvement: move to a 3x3 or larger matrix system to define tiles relations, and draw them dynamically.

    #generativeart #tiling #pattern #bitmasking

  2. #TruchetBounds / work in progress

    After several fails to find a good way for randomly filling a grid with truchet tiles, I discovered a vintage videogame technique called #bitmasking

    > Evaluate a tile value from its cardinals neighbors 1,2,4,8.
    The basic tiles set consists in only 6 tiles with rotation, determined by the tile value.
    Seems promising.

    #pattern #truchet #tiling

  3. ☑️ Day 5/100: #Leetcode daily question

    🟨 Question: 1371. Find the Longest Substring Containing Vowels in Even Counts

    This question was medium-level and a really good question of bit masking.

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 Solution Link: github.com/akshatsingh1718/lee

    🔗 My Leetcode Github: github.com/akshatsingh1718/lee
    #coding #python #dailycode #Bitmasking

  4. ☑️ Day 2/100: #Leetcode daily question

    🟣 Question: 1684. Count the Number of Consistent Strings.

    This question was easy and I solved it with 4 different approaches.
    1️⃣ #Bruteforce
    2️⃣ #Hashset
    3️⃣ #Booleanarray
    4️⃣ #Bitmasking

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 github.com/akshatsingh1718/lee

  5. ☑️ Day 2/100: #Leetcode daily question

    🟣 Question: 1684. Count the Number of Consistent Strings.

    This question was easy and I solved it with 4 different approaches.
    1️⃣ #Bruteforce
    2️⃣ #Hashset
    3️⃣ #Booleanarray
    4️⃣ #Bitmasking

    🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

    🔗 github.com/akshatsingh1718/lee