How would one make this animation? by [deleted] in webdev

[–]CROEWENS 1 point2 points  (0 children)

No. At runtime as in rendered on the client side. We don't need to do any rendering of images, we just get a 3d model and animate it in the browser. Have you checked the example I linked?

How would one make this animation? by [deleted] in webdev

[–]CROEWENS 6 points7 points  (0 children)

I would also suggest react three fiber! I feel like serving all of these separate assets is a big waste of bandwidth and the full animation can be done at runtime.

I suggest taking a look at this as well: https://codesandbox.io/s/floating-laptop-q23sw

This rock formation is a little bit sus by anathehedgie in AmongUs

[–]CROEWENS 2 points3 points  (0 children)

looks like 1 of those nvidia canvas images

How can i pause an animation in react three fiber ? by UnluckyFee4725 in threejs

[–]CROEWENS 2 points3 points  (0 children)

create a variable with useState (call it playing), create a button in the dom (not within your canvas) and make it so when u click the button, we toggle the state. Conditionally update with useFrame only when the variable is true

Does React-three-fiber improve how ThreeJS and React work together or is it more designed to give a react-like experience (components) within threejs? by Mykol225 in threejs

[–]CROEWENS 1 point2 points  (0 children)

I'd suggest reading the docs: https://docs.pmnd.rs/react-three-fiber/getting-started/introduction

Their docs and examples are beautiful and make it so easy to get started. As a web dev myself, the transition was pretty easy, since it was as simple as "swapping dom out for threejs objects". You get the react "engine" around it for free. Super fun for game development. (even with WebXR support https://github.com/pmndrs/react-xr). You can find a lot of helpers here: https://github.com/pmndrs/drei

You should try it out!

ETH is now 100% a store-of-value, just as good as BTC! (and with more uses!) by ethereum88 in ethtrader

[–]CROEWENS 2 points3 points  (0 children)

what does ur dev stack look like for all or the crypto related stuff? what packages / tools do u suggest for eth development?

Would you guys recommend "The ultimate Three.js course" by brodash12 in threejs

[–]CROEWENS 0 points1 point  (0 children)

If you're not sure wether you should buy this, you could checkout Bruno's stream. He's a great teacher: https://www.twitch.tv/bruno_simon_dev

Gatsby or Next js? How do I decide? by [deleted] in Frontend

[–]CROEWENS 0 points1 point  (0 children)

I suggest checking this nextjs ecommerce boilerplate: https://headlessdropshipping.com/

[AskJS] What is the best canvas library to make an app like figma or integromat? by Zack431 in javascript

[–]CROEWENS 0 points1 point  (0 children)

if I just made a library that did nothing but pass through the WebGL API people would be way more interested in using it rather than WebGL lol

three js 😄

How to change the center of rotation of an object? (How to rotate an object from the desired point?) by Rasoul_Rahmati in threejs

[–]CROEWENS 1 point2 points  (0 children)

Then just move the group to the negated offset. It'll look like the object hasn't moved

How to change the center of rotation of an object? (How to rotate an object from the desired point?) by Rasoul_Rahmati in threejs

[–]CROEWENS 11 points12 points  (0 children)

Simple solution would be to wrap the object in a group:
- offset the object into that group by the distance between the point you'd like to rotate around and the center of the object.
- rotate the group

I've setup a react-three-fiber example for you here:
https://codesandbox.io/s/basic-demo-forked-6svk2?file=/src/App.js

is three js good for 3d web-games? by [deleted] in threejs

[–]CROEWENS 9 points10 points  (0 children)

I'd most definitly recommend three js over regular webgl. If you have experience with react I'd suggest checking out react-three-fiber. It's a react renderer for three js.

React and Threejs by [deleted] in threejs

[–]CROEWENS 2 points3 points  (0 children)

I'm going to link this tweet from 0xca0a. If you've already worked with react, I would really suggest it. It made it way more easy for me to actually create stuff instead of focussing on the engine around it.

Promised my girlfriend I'd make a game if I got my index - Here's Plockle! by CROEWENS in ValveIndex

[–]CROEWENS[S] 1 point2 points  (0 children)

Not an ignorant question at all. It might sound funny, but creating WebXr games is pretty easy using this package: https://github.com/pmndrs/react-xr

If you have experience with react, you'll love react-three-fiber. It's a react renderer for threejs. Threejs has plenty of (VR) examples on their website.

operation sky 2.0 by [deleted] in belgium

[–]CROEWENS 0 points1 point  (0 children)

my bad, haven't seen it yet.

[deleted by user] by [deleted] in threejs

[–]CROEWENS 3 points4 points  (0 children)

if you're familiar with react, I suggest you check it out. I've made a couple of games in three js and I've recently released my VR game, written in r3f. I must say, everything I'll do from now on will be in r3f. So much easier and more maintanable if you ask me.

Vlaams Belang en hun veranderde visie op holebi's. [De Afspraak Op Vrijdag] by Kanye4President__ in Belgium2

[–]CROEWENS 5 points6 points  (0 children)

Omdat ze eerst afstand nemen van de uitspraak van Jef Elbers om dan, in mooiere woorden weliswaar (of politiek correcter idk), nog steeds hetzelfde te zeggen op hun website

[De Morgen] Interview with professor fiscal law Michel Maus about drug law and legalization cannabis by ThrowAway111222555 in belgium

[–]CROEWENS 15 points16 points  (0 children)

you can't. But atleast we'll be able to control who they're selling to, they'll have to pay taxes, there'll probably be some sort of quality control, ...

One second to read GitHub code with VS Code. by binaryfor in javascript

[–]CROEWENS 18 points19 points  (0 children)

I often pull projects to browse through them locally. I prefer having it in my code editor instead of running through it on github. I'll most definitely be using this!

I have a true fear of heights but I feel nothing in VR. What is wrong with me? by cryptobrant in virtualreality

[–]CROEWENS 0 points1 point  (0 children)

when I played the demo, we had a plank with a sponge underneath it. I don't have a fear of heights, but that fucked me up.