Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 709 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 709 Bytes

3D Art Museum using Three.js

Web

https://lrusso.github.io/3DArtMuseum/3DArtMuseum.htm

Functions for inserting a picture

addToLeft  (picture_width, picture_location, jpg_filename, mp3_filename, text_description_value); // LEFT WALL
addToRight (picture_width, picture_location, jpg_filename, mp3_filename, text_description_value); // RIGHT WALL
addToFront (picture_width, picture_location, jpg_filename, mp3_filename, text_description_value); // FRONT WALL
addToBack  (picture_width, picture_location, jpg_filename, mp3_filename, text_description_value); // BACK WALL

Example: Inserting a picture on the left wall

addToLeft(35,  200, "Art_01.jpg", "Art_01.mp3", "Sample text.");