Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get spherical effect #7

Open
abhilash-malkar opened this issue Nov 24, 2023 · 20 comments
Open

How to get spherical effect #7

abhilash-malkar opened this issue Nov 24, 2023 · 20 comments

Comments

@abhilash-malkar
Copy link

How to get spherical effect like this

IMG_1043

@loneicewolf
Copy link

I agree :) will watch this convo closely 👍🏼

@EstebanMAP
Copy link

Wanna also, the code are with 2 squares, wanna to know how can we do this spherical effect.
imagem_2023-11-24_114236291

@ShinoKana
Copy link

https://github.com/ShinoKana/multipleWindow3dScene
cba819282e1fc915f926f2ed45a97e3

@P3trol
Copy link

P3trol commented Nov 24, 2023

Amazing code!

@EstebanMAP
Copy link

ye amazing, good job, but if someone still have the code who him post on instagram, let us know

@loneicewolf
Copy link

loneicewolf commented Nov 24, 2023

thanks for posting this screenshot @ShinoKana

@Runtrons
Copy link

Yes, PLEASE. I need the code it’s so cool! I’ll literally pay a couple bucks.

@CypherpunkSamurai
Copy link

@abhilash-malkar
Copy link
Author

but there is no effect like shown in instagram

@jiangjiang2754
Copy link

.ball {
width: 150px;
height: 150px;
border-radius: 50%;
position: relative;
transform-style: preserve-3d;
animation: spin 5s linear infinite;
}
.ball::before, .ball::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 150px;
height: 150px;
border-radius: 50%;
background-color: #c1c1c1;
box-shadow: 5px 5px 5px rgba(0,0,0,0.4);
}
.ball::before {
transform: rotateY(90deg) translateX(75px);
}
.ball::after {
transform: rotateX(90deg) translateY(75px);
}
@Keyframes spin {
0% {
transform: rotateX(0deg) rotateY(0deg);
}
100% {
transform: rotateX(90deg) rotateY(360deg);
}
}
The effect of the above code is a three-dimensional gray sphere, constantly rotating.

@hojooo
Copy link

hojooo commented Nov 26, 2023

@jiangjiang2754
How do apply this css code?

@Runtrons
Copy link

@jiangjiang2754 How do apply this css code?

I don’t think that’s the same thing. But, I would ask chat gpt.

@Nickeldon
Copy link

@jiangjiang2754 How do apply this css code?

I don’t think that’s the same thing. But, I would ask chat gpt.

Don't use ChatGPT. It will just make your life harder (in terms of coding). Rather start to learn web developement

@loneicewolf
Copy link

@jiangjiang2754 How do apply this css code?

I don’t think that’s the same thing. But, I would ask chat gpt.

Don't use ChatGPT. It will just make your life harder (in terms of coding). Rather start to learn web developement

agree here, it's a bit better to use manual coding than a bot, even if the bot would produce, a actual good code, it's better to learn it :)

@Lobohombo
Copy link

Lobohombo commented Nov 30, 2023 via email

@loneicewolf
Copy link

english? sorry :o

@Lobohombo
Copy link

Lobohombo commented Nov 30, 2023 via email

@Runtrons
Copy link

Runtrons commented Nov 30, 2023

@jiangjiang2754 How do apply this css code?

I don’t think that’s the same thing. But, I would ask chat gpt.

Don't use ChatGPT. It will just make your life harder (in terms of coding). Rather start to learn web developement

I asked it to recreate the orb (From a single image), this is what GPT4 did first try:
Screenshot 2023-11-26 at 9 06 52 PM

If you truly think that then its because you have not tried GPT4 or you do not know how to use it.

@loneicewolf
Copy link

@jiangjiang2754 How do apply this css code?

I don’t think that’s the same thing. But, I would ask chat gpt.

Don't use ChatGPT. It will just make your life harder (in terms of coding). Rather start to learn web developement

I asked it to recreate the orb (From a single image), this is what GPT4 did first try: <img alt="Screenshot 2023-11-26 at 9 06 52 PM" width="494" src="https://private-user-images.githubusercontent.com/67560747/287079947-

If you truly think that then its because you have not tried GPT4 or you do not know how to use it.

I think he just meant generally speaking, that is - don't recommend to use GPT because the code or output might be bad in some way that we dont know or is hard to identify (note, I am not saying it's not good to use it, im saying just be careful) :)

@ruijieren98
Copy link

ruijieren98 commented Jan 21, 2024

We also tried to develop the code toward 3D effect for a bit. Check it here https://github.com/ruijieren98/multipleWindow3dScene

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests