We want to place some elements in a 3D scene and then move through them. To do so, we first have to create an HTML structure to hold each of these elements, and then we have to find a clever way to obtain the desired effect. But, before doing anything else, we have to define the folder structure and initiate the essential files of the project.
As in the previous project, we'll use SASS and Compass, so we need to install Ruby (http://www.ruby-lang.org/en/downloads/) and then enter gem install compass
(or sudo gem install compass
) in the terminal window. After that, we need a config.rb
file in the root folder of the project containing the Compass configuration:
# Require any additional compass plugins here. # Set this to the root of your project when deployed: http_path = "YOUR-HTTP-PROJECT-PATH" css_dir = "css" sass_dir = "scss" images_dir = "img" javascripts_dir = "js" # You can select your preferred output style here (can be overridden via the command line): # output_style...