We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I would like to have an interactive version of s.th. like this:
https://stackoverflow.com/questions/28387116/write-text-on-sphere-surface-scenekit
or
gograph.com/illustration/hello-sphere-word-tiles-global-languages-cultures-gg64665945.html
The following example should clarify in which direction I want to go:
mrdoob.com/lab/javascript/threejs/css3d/periodictable/ (click on sphere)
I want to know if someone here could help me to realize this.
Answers
Check these two posts:
https://forum.processing.org/two/discussion/21434/orientate-cubes-to-face-target-a-common-point#latest
https://forum.processing.org/two/discussion/comment/84712/#Comment_84712
Kf
Thank you for the links. Unfortunately, it seems to be too complicated for me. Could you create what I want for my website? Maybe I can offer you a small (student (me) adjusted) compensation? (e.g. 20-30$ ?)
Here is the demo, both in p5.js and Processing (java):
http://p5js.sketchpad.cc/sp/pad/view/ZakHsameOX/latest
Kf
P5.js
Processing
Note that people on the forum also post work-for-hire here:
https://forum.processing.org/two/categories/events-opportunities
In general discussion it is usually assumed that you are wanting to learn to do things yourself.
not fully sure but I think with the code above we cover each tile twice?
Look here:
this is covering each tile twice
one of those only needs to be 180 degrees. latitude only goes from 90N to 90S
Yes, that is correct. Processing does not have a standard reference frame. I am not sure how this affects the directions of the angles. So, I went the easy way and set both 360 and presented a limited acceptable solution. You can go ahead and solve the bug.
Kf
Here are two possible solutions:
or
However, one is more suitable than the other pending on circumstances.
Kf
i also noted that the text was upside down in 50 % logically
@Chrisir If the OP wants to continue, I will fix it. I believe I did the hardest part of this demo.
Kf
indeed, you did!