Currently, I am navigating through the internet in search of a solution for my problem. The example I came across is quite impressive, take a look: . My dilemma lies in converting these squares into CSS cubes while ensuring that they do not get cut off by the sphere. I need the cubes to bump over the sphere instead. Can anyone offer advice on how to achieve this or suggest an alternative starting point? I'm still new to using three.js, so any guidance is appreciated.
Thank you.
Following Lee Tylor's recommendation, here is more information about what I have accomplished:
In line with the periodic table sample in Three.js, I am initializing the sphere exactly as shown in the example. However, when certain words are typed in the inputs, they transform into cubes. While this part works fine, the issue arises with the cubes appearing flat on the sides. My goal is to make the cubes protrude over the sphere. I am unsure whether this is a CSS-related problem or an issue with three.js.
Check out the live example here:
You can find the file where all the action happens at dev.certatim.com/panhaptic/sphere_js/app/javascripts/functions.js
I hope this additional information clarifies my query. :(