Create 3D Rotating Text Sphere Using React.js

preview_player
Показать описание
Already Uploaded a video by using only HTML, CSS and JavaScript. Some of you commented, how to achieve the same using React, so here we go!.
.
.
.
.
.
.
.
Audio Credit : -
Song: DayFox - Secret Places
Music provided by Vlog No Copyright Music.
Рекомендации по теме
Комментарии
Автор

Hi there,
If you are facing problem after deployment, try using below code for hook :


useEffect(() => {
const container = '.tagcloud';
const texts = [
'HTML',
'CSS',
'SASS',
'JavaScript',
'React',
'Vue',
'Nuxt',
'NodeJS',
'Shopify',
'Jquery',
'ES6',
'GIT',
'GITHUB',
];

const options = {
radius: 300,
maxSpeed: 'normal',
initSpeed: 'normal',
keep: true,
};

TagCloud(container, texts, options);
}, []);

codemmit
Автор

Thank you! This video helped me a lot

kaycee-e
Автор

You literally made my day, I've been searching something like this for a long time! :)

enisbu
Автор

Could remake a similar thing but using images instead of texts.

That_GuyBrian
Автор

if u use it with react u suppose to return the clean up function in the useEffect

OmarRahal-Dev
Автор

I had an issue
When in development it works fine but after I build the project and deploy ut the sphere doesn't appear on the page

ahmedamir
Автор

can I get the value when I click on 1 cloud?

duydungle
Автор

everything shows up but after I refresh the page the text sphere will stop displaying on the screen.

MarcoMata-kwhl
Автор

Having an issue with it deploying to gh-pages. Works great locally.

korean_bagel
Автор

it shows nothing when i deploy on netlify

helloworld
Автор

Hello, this library is great, everything works ok, but I cannot change the size of the radius according to the size of the screen, the innerWidth

maxicornalba
Автор

Is there a way to optimize the radius for mobile view? The text stretches off screen when viewing in mobile. Look good in desktop view.

minTwin
Автор

got the text sphere to render in react, but it disappears when I reload the page.. any help would be appreciated

Satan-ytks
Автор

Hello @CodeXpool, please can you explain how can it be fixed after deploy? I use 'Netlify' and after deploy, the 3D TextSphere is not visible.

precupeduard
Автор

Has anyone managed to deploy this on gh-pages?

alfredpeter