#opensource demo sketchpunklabs.github.io/threejs_prot...
First milestone complete, animation system & 3rd person ctrlr from scratch. Even got Xbox ctrl input cause im no keyboard warrior ๐
Sensible thing is to do jumping next, nay! Tis time for COMBAT !!! ๐๐ก๏ธ
#threejs #gamedev #indiedev
05.03.2026 00:21
๐ 8
๐ 5
๐ฌ 1
๐ 0
#Opensource Demo
sketchpunklabs.github.io/threejs_prot...
Refactored 1D Blendspace proto to work in my new from scratch anim sys. Root motion built in & works with fixed frames. Next add xbox ctrler to move mewtwo around infinite world. Can't wait to do combat next :)
#threejs #gamedev #indiedev
04.03.2026 04:47
๐ 8
๐ 3
๐ฌ 0
๐ 0
Code/Demo: sketchpunklabs.github.io/threejs_prot...
I created an orbit camera controller with the support for #SpaceMouse as an input device. This lovely device is recognized by the gamepad api in the browser, so yey. Very niche feature but fun to have around :)
#threejs #3dconnexion
15.07.2025 07:02
๐ 4
๐ 0
๐ฌ 1
๐ 0
Code+Demo
sketchpunklabs.github.io/threejs_prot...
Enjoyed learning how @PavelBoytchev's planar rotations work, lovely way verts are weighted. Heres my 2nd stab at reproducing a single joint of it. Redid most of the #maths so its very simple w/ lots of comments. Free code, enjoy!
#threejs #glsl
31.05.2025 03:12
๐ 1
๐ 0
๐ฌ 0
๐ 0
Code&Demo
sketchpunklabs.github.io/threejs_prot...
Made a skeleton renderer that uses instanced meshes & custom shaders for the bones. Idea is to easily restyle your skeleton previews all you'd like without all the hard animation mathy bits getting in your way
Tis Free! Enjoy.
#threejs #webgl
11.05.2025 04:50
๐ 4
๐ 1
๐ฌ 0
๐ 0
Code&Demo
sketchpunklabs.github.io/threejs_prot...
Someone shared a link to @dedouze_'s new animation tool today at work & felt inspired enough to try to build a very basic concept prototype using #threejs. Tis was a fun exercise this evening.
Code is free, enjoy !
09.05.2025 04:46
๐ 3
๐ 0
๐ฌ 1
๐ 0
Code&Demo
sketchpunklabs.github.io/threejs_prot...
Dealing with cameras lately so tonight I put together 4 examples of moving a camera to fill the screen with the desired object. Free code, enjoy.
#threejs #javascript #maths
07.05.2025 04:20
๐ 2
๐ 0
๐ฌ 1
๐ 0
Code&Demo sketchpunklabs.github.io/threejs_prot...
Here's a basic proto of creating a wind system. A way to visualize wind dir plus run compute to get wind dir at a certain spot. Gonna use it someday to animate cloths, hair & grass. #opensource, enjoy !
#threejs #maths #glsl
28.04.2025 03:10
๐ 6
๐ 0
๐ฌ 1
๐ 0
Demo/Code: sketchpunklabs.github.io/threejs_proto/code/webgl/maths/spline_camera.html
like interesting prototypes? editor stuff? How about this lil example of using gpu picking, viewport rendering, and hermite curves to give your camera a bit of humph while editing & viewing in realtime
#threejs
19.04.2025 04:11
๐ 2
๐ 0
๐ฌ 0
๐ 0
Heres the result of all that Asinc bs Ive been dealing with for awhile. Lovely to finally see this model animating. Its swaying booty is just a nice bonus. There are some bugs & lil hacks to get it working. I'll do a full refactor after I get boneSprings workin again ๐
#threejs #gamedev #webgl
17.04.2025 04:21
๐ 22
๐ 4
๐ฌ 0
๐ 0
CODE: github.com/sketchpunkla...
Got all that arc #maths fixed up into a non-iterative IK solver. I used the leg bones of the AT-ST since the lens vary oddly & id wanna make sure it'll work. Sadly its really late to try it on the bot but soon!
Solver is #opensource, enjoy
#threejs
14.04.2025 05:22
๐ 5
๐ 0
๐ฌ 0
๐ 0
DemoSrc: sketchpunklabs.github.io/threejs_prot...
Finally getting arcAngle from arcLen & chordLen working using Inverse Sine Cardinal, took 6 yrs. Now I can improve one of my IK solvers & get a starwars AT-ST doing walk cycles from human animations :)
Code of the #maths are free.
#threejs
11.04.2025 04:58
๐ 4
๐ 0
๐ฌ 0
๐ 0
Demo/Src: sketchpunklabs.github.io/threejs_prot...
My employer @getcartwheel has allowed me 2 #opensource a feature I made, a mini view that renders in ur scene. U can render anything you want, first use case was a zoomable view. Made possible by using scissor, viewport & stencil buf
#threejs
10.04.2025 04:25
๐ 6
๐ 0
๐ฌ 0
๐ 0
Anyone interested in hacking on Octahedral Impostors for @threejs.org ?
I took @sketchpunk.bsky.social's octahedron unwrapping code and contributed atlas generation (and some suuper hacky impostor rendering) โ maybe someone can push this further for the community :)
GitHub Link below:
28.03.2025 23:13
๐ 5
๐ 1
๐ฌ 1
๐ 0
Code/Demo: sketchpunklabs.github.io/threejs_prot...
I may need to build 3D Gizmos again, so thought I put together a simple ex of all the main actions needed. Got line & plane translation with visualizers for the raw data. FromScratch raycasts + mathlib, free & portable
#threejs #maths
24.03.2025 02:36
๐ 2
๐ 0
๐ฌ 0
๐ 0
Code / Demo : sketchpunklabs.github.io/threejs_prot...
Reached the first milestone in building a basic #physics engines. Has linear / angular vel, Box Collider, pnt constraint, no dep. Lots of comments, res links, great starter ex for anyone interested in the topic
#threejs #maths
22.03.2025 04:40
๐ 3
๐ 0
๐ฌ 0
๐ 0
Code/Demo sketchpunklabs.github.io/threejs_prot...
The toy #physics engine Im trying to put together, I found a tutorial on using BVH+MortonCode to handle the broadphase stage. 2 days of reading & coding I have an ex with lots of comments for anyone interested in this fun datastruct.
#threejs
12.03.2025 21:21
๐ 2
๐ 0
๐ฌ 0
๐ 0
GitHub - codecrafters-io/build-your-own-x: Master programming by recreating your favorite technologies from scratch.
Master programming by recreating your favorite technologies from scratch. - codecrafters-io/build-your-own-x
github.com/codecrafters...
Found this great resource that links to various tutorials & examples of how to build things from scratch. I've already started reading one particular build your own 3D physics engine tut & how to completely build your own react library :)
#gamedev #webdev
06.03.2025 18:19
๐ 6
๐ 1
๐ฌ 0
๐ 0
Code: github.com/sketchpunk/c...
I recently did a test on the topic of websockets. I made a barebones & vanilla example of a multiplayer client /server game. Also added an NPC pixel & xbox controller input. #free + good learning example /w lots of comments
#javascript #indiedev
01.03.2025 21:04
๐ 5
๐ 2
๐ฌ 0
๐ 0
Code/Demo sketchpunklabs.github.io/threejs_prot...
Put together an ex of gpu picking, an alt for ray casting. Uses renderlists so no need to keep extra scene of objects. For point picking I get intID plus worldspace hit pos. Also made screenspace RECT selection :)
#threejs #opensource
27.02.2025 21:59
๐ 4
๐ 0
๐ฌ 0
๐ 0
GitHub - sketchpunklabs/threejs_proto: Various prototypes using threejs
Various prototypes using threejs. Contribute to sketchpunklabs/threejs_proto development by creating an account on GitHub.
github.com/sketchpunkla...
Because of changes to #threejs over the years I need a new repo to continue doing prototyping. Now I can run multiple versions, webgl/webgpu, better organization & updated my visual debugging to work in latest version plus github pages. Clone away :)
25.02.2025 13:57
๐ 1
๐ 0
๐ฌ 0
๐ 0
oh... this is exactly the sort of retirement I want. Wake up late, think of doing more work into 4 bar linkage, see people like my old octasphere imp on x then get inspired to make a better version & make it usable for anyone. Thats like peek life living for me, work on whatever whenever :)
17.02.2025 19:57
๐ 1
๐ 0
๐ฌ 1
๐ 0
Demo/Code: codesandbox.io/p/sandbox/pr...
Revisiting @prideout's Octasphere, this time around I added extra params to reshape it into a 3D rect / capsule shape. No dependences. Engine agnostic, so should work in #threejs @babylonjs etc. Sadly no UV coords tho. Fun shape to have around.
16.02.2025 18:03
๐ 5
๐ 0
๐ฌ 1
๐ 0
CODE&DEMOS
sketchpunklabs.github.io
The final first prototype of auto skinning a 3D mesh using compute shaders on #webgl & running in #threejs. All the code is up & free for anyone to learn or use.
Big step closer to cloning mixamo ๐ฅณ
#opensource #javascript #math #animation
16.01.2024 17:17
๐ 5
๐ 0
๐ฌ 1
๐ 0
Code&Demo
codesandbox.io/p/sandbox/th...
Heres how to voxelize a triangle mesh using #WebGL's TransformFeedback compute within #threejs. Its just the first step to making Voxel Geodesic AutoSkinning. Here's hoping to replace mixamo with something #opensource-y๐
#gamedev #indiedev
01.12.2023 23:03
๐ 3
๐ 1
๐ฌ 0
๐ 0
Code&Demo
codesandbox.io/p/sandbox/th...
#WebGL's TransformFeedback used to run a compute shader that voxelizes an SDF shape. The modified buffer is part of an instancedMesh that renders a cube for active voxels. BONUS, Raymarched volume render of the SDF too.
#threejs #glsl
29.11.2023 06:39
๐ 3
๐ 1
๐ฌ 0
๐ 0
Prototype of using #WebGL's TransformFeedback compute shaders to perform custom skinning with #threejs rendering the results. Mean u can pose/animate a char once then render multiple shells as static meshes. When I have time, I'll try out fur shells & a walk cycle ๐
github.com/sketchpunkla...
15.11.2023 16:16
๐ 2
๐ 0
๐ฌ 0
๐ 0
JOIN THE #THREEJS HALLOWEEN CHALLENGE!!!
Use this starter project made with @KayLousberg spooky assets to make a fun/eerie web experience. Tag your creation with #threejshalloween!
More info @ repo! Please share & Happy Halloween!
github.com/sketchpunkla...
07.10.2023 18:23
๐ 4
๐ 1
๐ฌ 0
๐ 0
Coding burn out... switching to modeling. Redoing what I had left off with MsCosplay. This time around going to really focus on edge flow to make things fit & animate better. Its my personal goal to finish her model this year... i fear doing the face tho.๐ช
#blender #b3d
05.10.2023 15:21
๐ 2
๐ 0
๐ฌ 0
๐ 0
Here's the final version of my rotation gizmo. Pretty snazzy. The render bits are dependent on #threejs but the rest is easily portable to other engines if needed.
#opensource if anyone's interested github.com/sketchpunkla...
#gamedev #indiedev #math
03.10.2023 22:56
๐ 1
๐ 0
๐ฌ 0
๐ 0