bgstaal / multipleWindow3dScene

A quick example of how one can "synchronize" a 3d scene across multiple windows using three.js and localStorage
MIT License
16.44k stars 2.56k forks source link

How to run this #25

Open Punyae3671 opened 8 months ago

Punyae3671 commented 8 months ago

Hi, I know this question has been answered before, but I am very new to coding, and need a detailed explaination of how and where I am supposed to run this code.

Thank you

ayush-india commented 8 months ago

python -m http.server 6969

then in your browser go to localhost:6969

NOTE: the python's name can change eg: in window python.exe in linux python3

ayush-india commented 8 months ago

@Punyae3671 hope this helps

Amirhossein256 commented 8 months ago

hi dear;

first step install node package manager : node.js

Open CMD and install global http-server : npm install -g http-server

Navigate to the project directory (in the CMD): cd multipleWindow3dScene

Start local server by this command : http-server

and just open http://127.0.0.1:8080 url in your browser

@Punyae3671

ayush-india commented 8 months ago

@Amirhossein256 there is not need of installing http-sever bro,

just simplly use python ;)

Amirhossein256 commented 8 months ago

@ayush-india come on bro ! It doesn't matter whether we have to install Python or NodeJS. just Run one http server !

ayush-india commented 8 months ago

Yeah bro,

But simplicity is the key

ok-coder1 commented 8 months ago

Just go to this website: bgstaal/multipleWindow3dScene.

ok-coder1 commented 8 months ago

Close this issue.

thistlillo commented 8 months ago

The README should be updated as it only says:

Clone the repository and open index.html in your browser to start exploring the 3D scene.

Lobohombo commented 8 months ago

De favor soy de México y no está en mi idioma gracias

Único dueñoDarioRodolfo

El jue., 30 de noviembre de 2023 5:48, Franco Alberto Cardillo < @.***> escribió:

The README should be updated as it only says:

Clone the repository and open index.html in your browser to start exploring the 3D scene.

— Reply to this email directly, view it on GitHub https://github.com/bgstaal/multipleWindow3dScene/issues/25#issuecomment-1833612253, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEJM2TMHVWUM7MNVF4BV4O3YHBXBJAVCNFSM6AAAAAA73SOKS2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZTGYYTEMRVGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Praful-Prasad commented 8 months ago

python -m http.server 6969

then in your browser go to localhost:6969

NOTE: the python's name can change eg: in window python.exe in linux python

No simplicity is not always the key. This is a very good example why. Python is slower compared to nodejs in terms of performance and responsiveness for web dev related tasks. Nobody would ever recommend running js using python

heyaibek commented 5 months ago

try this npx serve . if you're JS user. the approach requires nodejs environment

vanleminhdat1111 commented 3 weeks ago

https://docs.github.com/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax