Feature

Feature

Moved from three.js to react-three/fiber for any animations

Viet Nguyen
Jun 26, 2022

The major of work is about to apply react-three/fiber and remove three.js original build.

Just a quicknote about my feature update in version 1.1.0

I have update the three.js to react-three/fiber package, which using the advantage of ReactJS to render the three.js objects. Besides, I have changed the plain white globe into Globe with adding cloud movement.

Of course the time to render the three.js object did not increase much but with the use of <Suspense> tag, I am able to make it loading smooth and reduce lag in built project.

In my opinion, using react-three/fiber is easier than the original three.js, in terms of add or remove objects and layers. Therefore, I will definitely learn more about it in order to apply animations into my personal site 🌎.

Comments

There is no comment here yet. Let's have one! ⌨️
Leave a Reply
Please be responsible and respectful when commenting. I reserve the right to remove any comment that I feel is inappropriate.