+ 4
What are the steps to building a 3d shape
7 odpowiedzi
+ 6
Latudanee you seem to have an interest in 3d based on your previous questions.
There isnt a specific 1,2,3 step in building 3d shapes.
css could be used
js libraries could be used..
you could Google it
+ 4
ok thanks
+ 4
ok
+ 3
🇳🇬Brains
Its much more complex than 2d sure but not ridiculous.
A 3d code (NOT using webgl) I have copied to my private codes from a user.
(I don't remember his/her name otherwise I'd give credit)
https://code.sololearn.com/WOg9395wLlH1/?ref=app
+ 3
Haris for a beginner it is😂.
lets know even talk about
ctx.getContext("webgl")..
you could spend 300 lines on creating a single cube.
+ 2
Latudanee
If you intend to build a 3d shape in plain js you need Math.
Ofc there are js libraries that make life easier for you and have 3d shapes ready for use.
Another way is with css but js always looks more realistic.
+ 2
Haris i skipped the plain js part due to its ridiculous complexity