Skip to content

Instantly share code, notes, and snippets.

View krabhi1's full-sized avatar
🎯
Focusing

abhishek krabhi1

🎯
Focusing
View GitHub Profile
@krabhi1
krabhi1 / 0-api-call.md
Last active November 9, 2023 03:38
Result based api call for ease of use

api-call

Result based api call for ease of use .you can implements in any language

@krabhi1
krabhi1 / 0_pan+zoom.md
Last active November 9, 2023 03:39
pan+zoom logic in canvas react

pan+zoom

very smooth pan+zoom logic in react+canvas

Functions

  • worldToScreen()
  • screenToWorld()
@krabhi1
krabhi1 / a.e
Last active October 23, 2024 05:11
a
plpmff7BttLZioU1BvHO7rMQq5HKCUq7CqUB2hpe+rfbZ1hi5yKjJkvLNsWKL/0ClJcl2VOhjPJs/wK6x9SAsKsXr0UH6wDj8KtMNzQL19KOv3cmtsOQm59LPhskbE4Wlv33iNkIM0BCDFSJ8aOpzxeRpi32ovI8hK1v4wSHDw3p9nkVeZj+5tgmv9NNM85s8LX5J44/5eH/XBxOXbGa8Ppu385QqXrO34Up6TB4JZogXugsGD3I48888DIjr9I+8cTgq3rPxqJ/kiaWKo4qj2TjEKFALPB3jNNN+7mK+zCQ9PzsVJhFqanlv6RyEwzPQ8vjb6ZWn0GCIyYCxoZ1kTy3B2313IVA2ItJkY5bXKe22gXbBV7cA68hAswFCV32mfXZJlSu0lFmgcMf365tYhpJZym41IXPRrNyWpunCChQei3cTWsF2Lnfra94blUEfcfwXURWN4duhDKBnRDX0VdDbMD1Cv7JJvFKhH89TmsmdxzB8u6LobTRV3iTYIJ1U/R8xrtpuUj28ctQDdkKGEFYqbt+AWOajE6cy/gxCFkbGsoyGYn5TmnHGszUwJBdyGnFW6enGACUQS6Lki4Vo3WTw4cfnLTAfKhbtwy0W5q5eWnONcaC0VhyAsxyQGyW569gQ/4qpWyQSwvjGX592KsBY9RTMiXEqZQso0RpwpLkRMUo7tn4RsuhCnbvjrWsD5M96hwKmO/UzFk33UDIEfcM2KcFBeW7dhhoDzFID9WAUr0tY6knBtLABcQg1gEHpqO5WBH6qHVnh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