May 5, 2024, 9:51 p.m. | larcefox

DEV Community dev.to

Hi!

With Python and ThreeJS (https://threejs.org/) I have made app to make easy 3d visualisation, which you can test in browser.

Like this:



All you need to draw red qube is to type somethig like this:



box = ef.create('box', 10, 10, 10, position={'x': 0, 'y': 10, 'z': 0}, color='red')


And blueprint on back of qube:



plane = ef.create(
'plane',
1093,
630,
texture='textures/map.svg',
color=0xffffff,
position={'x':0, 'y': 0, 'z': 0},
rotation={'x': -(math.pi/2),'y': 0, 'z': -(math.pi/2)}
)


And ofcorse you can …

box color create game gamedev javascript map math plane python rotation svg texture think type webdev

Software Engineer for AI Training Data (School Specific)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Python)

@ G2i Inc | Remote

Software Engineer for AI Training Data (Tier 2)

@ G2i Inc | Remote

Data Engineer

@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US