diff --git a/src/lab/Courses Aligned.html b/src/lab/Courses Aligned.html index 7c219a224..821524022 100755 --- a/src/lab/Courses Aligned.html +++ b/src/lab/Courses Aligned.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - + @@ -60,14 +61,17 @@ @@ -99,7 +103,7 @@

<
-

Computer Graphics

+

Computer Graphics

The basic concepts of CG are alignd with courses such as Linear Algebra, Matrix Theory, Projective Geometry and the like. The experiments touch on most topics covered in such courses in most curricula.

diff --git a/src/lab/Feedback.html b/src/lab/Feedback.html index 5896ad156..566bf0e78 100755 --- a/src/lab/Feedback.html +++ b/src/lab/Feedback.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - +
@@ -59,16 +60,18 @@ --> + @@ -99,7 +102,26 @@

<
-

Computer Graphics

Feedback
+

Computer Graphics

+ +
+

Dear User,

+ +

Thanks for using Virtual Labs. Your opinion is valuable to us. To help us improve, we'd like to ask you a few questions about your experience. It will only take 3 minutes and your answers will help us make Virtual Labs better for you and other users. +

+
+ + + + +
+
+ +

Thanks for your time ! +
+ The Virtual Labs Team +

+
diff --git a/src/lab/Introduction.html b/src/lab/Introduction.html index 7b5d6d99a..44308b1e7 100755 --- a/src/lab/Introduction.html +++ b/src/lab/Introduction.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - + @@ -60,14 +61,17 @@ --> @@ -99,7 +103,7 @@

<
-

Computer Graphics

+

Computer Graphics

Welcome to the Computer Graphics lab ! Here , we will try some virtual experiments to understand the different concepts of diff --git a/src/lab/List of experiments.html b/src/lab/List of experiments.html index ccec3a1b5..656a681e5 100755 --- a/src/lab/List of experiments.html +++ b/src/lab/List of experiments.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - +

@@ -60,14 +61,17 @@ @@ -99,39 +103,49 @@

<
-

Computer Graphics

+

Computer Graphics

  • Points and Co-ordinate Systems
  • +
  • Transformations: Translation
  • +
  • Transformations: Rotation
  • +
  • Transformations: Scaling
  • +
  • Hierarchical Transformations: 2D Demo
  • +
  • Hierarchical Transformations: 3D Articulated Arm
  • +
  • Projections and Cameras
  • +
  • Clipping: Line
  • +
  • Clipping: Polygon
  • +
  • Rasterization: Line
  • +
  • Rasterization: Polygon
  • diff --git a/src/lab/Prerequisites.html b/src/lab/Prerequisites.html index fb26dafd5..8a677d6f9 100755 --- a/src/lab/Prerequisites.html +++ b/src/lab/Prerequisites.html @@ -25,8 +25,9 @@ - - + + +
    @@ -42,7 +43,7 @@ - +
    @@ -59,21 +60,17 @@ @@ -100,20 +97,15 @@

    C
    - Prerequisite S/W -
    +

    Computer Graphics

    + +

    - This lab requires few Software Dependencies to run the Simulations

      @@ -127,6 +119,8 @@

      C
    1. Install VirtualBox - Virtual Labs offers a free download of a customized VirtualBox with the required pre installed all the software dependencies(Java 1.7, IcedTea Plugin and Adobe Flash Plugin). Please follow the link to download, install and use VirtualBox for Virtual Labs.

    +
    +
    diff --git a/src/lab/Target Audience.html b/src/lab/Target Audience.html index e5038d8aa..3eeec3eb7 100755 --- a/src/lab/Target Audience.html +++ b/src/lab/Target Audience.html @@ -26,6 +26,8 @@ + + @@ -43,7 +45,7 @@ - +
    @@ -60,14 +62,17 @@ @@ -99,7 +104,7 @@

    <
    -

    Computer Graphics

    +

    Computer Graphics

    The experiments are targeted at students with proficiency in writing programs in any preferred programming language. Knowledge of matrix theory and linear algebra is required.

    diff --git a/src/lab/courses_aligned.html b/src/lab/courses_aligned.html deleted file mode 100755 index 7c219a224..000000000 --- a/src/lab/courses_aligned.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
    -
    - - -
    - -
    -
    -
    -
    -
    -
    - - - -
    -

    Computer Science & Engineering

    - -
    - - -
    - - -

    Computer Graphics

    -

    - The basic concepts of CG are alignd with courses such as Linear Algebra, Matrix Theory, Projective Geometry and the like. The experiments touch on most topics covered in such courses in most curricula. -

    -
    -
    -
    - - - - - -
    - - - -
    - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/lab/css/style-main.scss b/src/lab/css/style-main.scss new file mode 100644 index 000000000..0e41334e5 --- /dev/null +++ b/src/lab/css/style-main.scss @@ -0,0 +1,3034 @@ +/*----------------------------------------*/ +/* CSS +/*----------------------------------------*/ + +html, body { + height: 100%; +} + +.floatleft { + float: left; +} + +.floatright { + float: right; +} + +.alignleft { + float: left; + margin-right: 15px; + margin-bottom: 15px; +} + +.alignright { + float: right; + margin-left: 15px; + margin-bottom: 15px; +} + +.aligncenter { + display: block; + margin: 0 auto 15px; +} + +a:focus { + outline: 0px solid; +} + +img { + max-width: 100%; + height: auto; +} + +.fix { + overflow: hidden; +} + +p { + margin: 0 0 15px; + font-size:17.5px; +} +li{ + font-size:17.5px; + line-height:1.6; +} +i{ + font-size:16px; + line-height:1.6; +} + +h1, h2, h3, h4, h5, h6 { + font-family: 'Open Sans', sans-serif; + margin: 0 0 15px; + /*color: #444;*/ + font-weight: 500; +} + +h1 { + font-size: 48px; + line-height: 50px; +} + +h2 { + font-size: 38px; + line-height: 40px; +} + +h3 { + font-size: 30px; + line-height: 32px; +} + +h4 { + font-size: 24px; + line-height: 26px; +} + +h5 { + font-size: 20px; + line-height: 22px; +} + +h6 { + font-size: 16px; + line-height: 20px; +} + +a { + transition: all 0.3s ease 0s; + text-decoration: none; +} + +a:hover { + color: #3EC1D5; + text-decoration: none; +} + +a:active, a:hover { + outline: 0 none; +} + +body { + background: #fff none repeat scroll 0 0; + color: #444; + font-family: 'Open Sans', sans-serif; + font-size: 14px; + text-align: left; + overflow-x: hidden; + line-height: 22px; +} + +/* Back to top button */ +.back-to-top { + position: fixed; + display: none; + background: #3EC1D5; + color: #fff; + padding: 6px 12px 9px 12px; + font-size: 16px; + border-radius: 2px; + right: 15px; + bottom: 15px; + transition: background 0.5s; +} + +@media (max-width: 768px) { + .back-to-top { + bottom: 15px; + } +} + +.back-to-top:focus { + background: #3EC1D5; + color: #fff; + outline: none; +} + +.back-to-top:hover { + background: #3cd6ed; + color: #fff; +} + +.clear { + clear: both; +} + +ul { + list-style: outside none none; + margin: 0; + padding: 0; +} + +input, select, textarea, input[type="text"], input[type="date"], input[type="url"], input[type="email"], input[type="password"], input[type="tel"], button, button[type="submit"] { + -moz-appearance: none; + box-shadow: none !important; +} + +div#preloader { + position: fixed; + left: 0; + top: 0; + z-index: 99999; + width: 100%; + height: 100%; + overflow: visible; + background: #fff url('../img/preloader.gif') no-repeat center center; +} + +::-moz-selection { + background: #3EC1D5; + text-shadow: none; +} + +::selection { + background: #3EC1D5; + text-shadow: none; +} + +.area-padding { + /* padding: 31px 0px 80px;*/ +} + +.area-padding-2 { + padding: 70px 0px 50px; +} + +.padding-2 { + padding-bottom: 90px; +} + +.section-headline h2 { + display: inline-block; + font-size: 40px; + /*font-weight: 600;*/ + margin-bottom: 59px; + margin-top:42px; + position: relative; + text-transform: capitalize; +} + +.section-headline h2::after { + border: 1px solid #333; + bottom: -20px; + content: ""; + left: 0; + margin: 0 auto; + position: absolute; + right: 0; + width: 40%; +} + +.sec-head { + display: inline-block; + font-size: 17px; + font-weight: 600; + margin-bottom: 0; + padding: 0 0 10px; + text-transform: uppercase; + transition: all 0.4s ease 0s; +} + +/*--------------------------------*/ + +/* 2. Header top Area +/*--------------------------------*/ + +.header-area { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: auto; + background-color:#fff; + /*background: rgba(0, 0, 0, 0.40);*/ + z-index: 9; +} + +.navbar-header a.navbar-brand { + display: inline-block; + height: 90px; + /* padding: 15px 0;*/ +} + +.main-menu ul.navbar-nav li { + display: inline-block; + padding: 0px 13px; +} + +.main-menu ul.navbar-nav li a { + background: rgba(0, 0, 0, 0) none repeat scroll 0 0; + color: #a7a9ab; + font-size: 15px; + font-weight: 500; + padding: 24px 0px; + text-transform: capitalize; + letter-spacing: 1px; +} + +.main-menu ul.navbar-nav li.active a::after { + border: 1px solid #3cd6ed; + bottom: 0px; + content: ""; + left: 0; + position: absolute; + width: 100%; +} + +.main-menu ul.navbar-nav li.active a:hover { + background: none; + color: #3EC1D5; +} + +.main-menu ul.navbar-nav li.active a:focus { + color: #3cd6ed; +} + +.main-menu ul.navbar-nav li.active a { + background: rgba(0, 0, 0, 0) none repeat scroll 0 0; + color: #a7a9ab; + position: relative; +} + +.main-menu ul.navbar-nav li a:hover { + color: #3EC1D5; +} + +.navbar { + border: medium none; + margin-bottom: 0; +} + +.navbar-default { + background: rgba(0, 0, 0, 0) none repeat scroll 0 0; +} + +.main-menu ul.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus { + background: none; + color: #333; +} + +.navbar-default .navbar-toggle { + background: rgba(0, 0, 0, 0) none repeat scroll 0 0; + + border: medium none; + border-radius: 0; + padding: 25px 0px; +} + +.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus { + background-color: transparent; + color: #a7a9ab; +} + +.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { + background: none; +} + +.navbar-default .navbar-toggle .icon-bar { + background-color: #fff; + width: 30px; + height: 2px; +} + +.top-right.text-right { + float: right; + position: relative; + top: 24px; + margin-left: 20px; +} + +.top-right.text-right>li { + float: right; + margin: 0px 8px; +} + +.top-right.text-right li a { + color: #fff; +} + +/*--------------------------------*/ + +/* menu +/*--------------------------------*/ + +.header-area.stick { + /*background-color: rgba(0, 0, 0, 1);*/ + background-color:#fff; + height: 90px; + position: fixed; + top: 0; + width: 100%; + z-index: 999999; +} + +.stick .navbar-header a.navbar-brand { + display: inline-block; + height: 90px; +} + +.stick .navbar-brand>img { + display: none; +} + +.stick .navbar-brand.sticky-logo>img { + display: block; +} + +.sticky-logo h1 { + color: #fff; + padding: 0; + margin: 0; + font-size: 36px; + font-weight: bold; + line-height: 1; +} + +.sticky-logo h1 span { + color: #3ec1d5; +} +.stick .main-menu ul.navbar-nav li.active a::after { + border: 1px solid #3EC1D5; + bottom: 0px; + content: ""; + left: 0; + position: absolute; + width: 100%; +} + +.stick .main-menu ul.nav>li>a:hover { + color: #3EC1D5; +} + +.stick .main-menu ul.navbar-nav li.active a { + background: rgba(0, 0, 0, 0) none repeat scroll 0 0; + color: #3EC1D5; + position: relative; +} + +.stick .mainmenu ul#nav>li:hover>a, .stick .mainmenu ul#nav li .mega-menu, .stick .mainmenu ul#nav li ul.sub-menu { + background-color: #f5f5f5; + color: #fff; + outline: medium none; +} + +.stick .mainmenu ul#nav li:hover ul.sub-menu li a:hover, .mainmenu ul#nav li .mega-menu span>a:hover, .stick .mainmenu ul#nav li .mega-menu-shop a.mega-menu-title:hover { + color: #fff; +} + +.stick .logo { + height: 20px; +} + +.stick .logo a { + margin-top: 0px; +} + +.stick .main-menu ul.nav>li>a { + color: #a7a9ab; + line-height: 22px; + padding: 24px 0px; + text-transform: capitalize; + letter-spacing: 1px; +} + +.stick .navbar-default .navbar-toggle .icon-bar { + background-color: #fff; + width: 30px; + height: 2px; +} + +.stick .navbar-default .navbar-toggle { + padding: 10px 0px; +} + + +/*--------------------------------*/ + +/* Services +/*--------------------------------*/ + +.services-icon { + color: #444; + display: inline-block; + font-size: 36px; + line-height: 36px; + margin-bottom: 20px; +} + +.section-headline.services-head>h2 { + margin-bottom: 25px; +} + +.services-details { + padding-top: 40px; + transition: all 0.5s ease 0s; + padding-top: 20px; +} + +.services-details:hover h4, .services-details:hover .services-icon { + color: #3EC1D5; +} + +.row.second-row { + margin-top: 40px; +} + +.section-head>h2 { + color: #333; +} + +.single-services>h4 { + color: #444; + font-size: 24px; + font-weight: 500; +} + +.single-services>p { + color: #333; + font-size: 14px; +} + +/*---------------------------------------- + Skill Area +----------------------------------------*/ + +.our-skill-area { + position: relative; +} + +.our-skill-area { + background: rgba(248, 248, 248, 0.8) url("../img/background/bg1.jpg") no-repeat fixed center top / cover; +} + +.test-overly { + background: rgba(0, 0, 0, 0.80); + position: absolute; + width: 100%; + height: 100%; +} + +.progress-h4 { + color: #fff; + font-weight: 500; +} + + +/*---------------------------------------- + Css +----------------------------------------*/ + +.wellcome-area { + background: rgba(248, 248, 248, 0.8) url("../img/background/bg1.jpg"); + background-size: cover; + background-position: center top; + background-repeat: no-repeat; + background-attachment: fixed; +} + +.well-bg { + position: relative; +} + +.wellcome-text { + /* margin: 70px 0;*/ + padding: 30px 40px; +} + +.well-text>h2 { + color: #fff; + font-size: 44px; + font-weight: 500; + line-height: 50px; +} + +.well-text p { + font-size: 18px; + font-style: italic; + color: #fff; +} + +.wellcome-text .section-headline p { + margin-bottom: 0; +} + +.subs-feilds { + border: 1px solid #fff; + display: inline-block; + height: 52px; + margin-top: 30px; + width: 60%; + border-radius: 30px; + overflow: hidden; +} + +.suscribe-input input { + background: transparent none repeat scroll 0 0; + border: medium none; + color: #fff; + float: left; + font-size: 15px; + line-height: 24px; + padding: 11px 15px; + width: 70%; + height: 50px; +} + +.suscribe-input button { + background: #3ec1d5 none repeat scroll 0 0; + border: medium none; + border-radius: 0 20px 20px 0; + color: #fff; + float: left; + font-size: 20px; + font-weight: 700; + padding: 14px 20px; + width: 30%; +} + +.suscribe-input button:hover { + background: #fff none repeat scroll 0 0; + color: #3ec1d5; +} + +/*---------------------------------------- + career section +----------------------------------------*/ + +.team-member { + background: rgba(0, 0, 0, 0.65) none repeat scroll 0 0; + display: block; + margin-right: -15px; + padding: 10px; + position: relative; + overflow: hidden; +} + +.team-member::before { + background: rgba(0, 0, 0, 0) url("../img/team/team01.jpg") repeat scroll 0 0; + content: ""; + display: block; + height: 100%; + left: 0; + margin-right: -15px; + padding: 10px; + position: absolute; + top: 0; + width: 100%; + z-index: -1; + background-repeat: no-repeat; + background-size: cover; + background-position: top center; + transition: 5s; + transform: scale(1); +} + +.team-member:hover.team-member::before { + transform: scale(1.2); +} + +.single-team-member { + border: 1px solid #ddd; +} + +.team-left-text h4 { + color: #fff; + font-size: 30px; + font-weight: 700; + text-transform: uppercase; +} + +.team-left-text p { + color: #fff; + font-size: 17px; + line-height: 26px; +} + +.email-news { + display: block; + margin: 30px 0; + overflow: hidden; + text-align: center; + width: 100%; +} + +.email-news .email_button input { + background: rgba(0, 0, 0, 0) none repeat scroll 0 0; + border: 1px solid #fff; + color: #fff; + float: left; + font-size: 13px; + padding: 8px; + width: 81%; +} + +.email-news .email_button>button { + background: rgba(0, 0, 0, 0) none repeat scroll 0 0; + border: 1px solid #fff; + color: #fff; + float: left; + font-size: 16px; + padding: 8px 12px; + text-align: center; +} + +.email-news .email_button>button:hover { + background: #3EC1D5; + border: 1px solid #fff; + color: #fff; +} + +.team-left-icon ul li { + display: inline-block; +} + +.team-left-icon ul li a:hover { + color: #3EC1D5; + background: #fff; + border: 2px solid #fff; +} + +.team-left-icon ul li a { + border: 2px solid #fff; + color: #fff; + display: block; + font-size: 16px; + height: 40px; + line-height: 37px; + margin: 0 3px; + width: 40px; +} + +.team-member-carousel .single-team-member { + overflow: hidden; + width: 100%; +} + +.single-team-member:hover .team-img a:after { + opacity: 1; +} + +.single-team-member:hover .team-social-icon { + top: 45%; + opacity: 1; +} + +.team-img { + position: relative; +} + +.team-img>a { + display: block; +} + +.team-img>a::after { + background: rgba(0, 0, 0, 0.70); + bottom: 0; + content: ""; + height: 100%; + left: 0; + position: absolute; + transition: all 0.5s ease 0s; + width: 100%; + opacity: 0; +} + +.team-social-icon { + left: 50%; + margin-left: -61px; + opacity: 0; + position: absolute; + top: 30%; + transition: 1.3s; +} + +.team-social-icon ul li { + display: inline-block; +} + +.team-social-icon ul li a { + border: 1px solid #fff; + border-radius: 50%; + color: #fff; + display: block; + font-size: 14px; + height: 34px; + line-height: 35px; + margin: 0 3px; + width: 34px; +} + +.team-social-icon ul li a:hover { + color: #fff; + border: 1px solid #3EC1D5; + background: #3EC1D5; +} + +.team-content { + padding: 10px 0px; +} + +.team-content>h4, .team-content>p { + color: #444; + margin-bottom: 5px; +} + +.team-content.head-team p { + margin-bottom: 0; +} + +.team-left-icon.text-center { + margin-bottom: 20px; +} + +.head-team h4 { + display: inline-block; + font-size: 25px; + font-weight: 600; + padding-bottom: 10px; + text-transform: uppercase; +} + + + + + + +#top { + display: grid; + min-height: 100%; + grid-template-rows: max-content auto max-content; +} + + + + + + + +/*-------------------------------------------------------------- +# Footer +--------------------------------------------------------------*/ + +#footer { + background: #000; + color: #eee; + font-size: 14px; +} + +#footer .footer-top { + background: #111; + /*padding: 60px 0 30px 0;*/ + padding: 15px 0 0px 0; +} + +#footer .footer-top .footer-info h3 { + font-size: 34px; + margin: 0 0 20px 0; + padding: 2px 0 2px 10px; + line-height: 1; + font-family: "Open Sans", sans-serif; + font-weight: 700; + letter-spacing: 3px; + border-left: 4px solid #18d26e; +} + +#footer .footer-top p { + font-size: 1.4rem; + margin-bottom: 0; + color: #eee; +} + +#footer .footer-top .social-links a { + font-size: 18px; + display: inline-block; + background: #333; + color: #eee; + line-height: 1; + padding: 8px 0; + margin-right: 4px; + border-radius: 50%; + text-align: center; + width: 36px; + height: 36px; + transition: 0.3s; +} + +#footer .footer-top .social-links a:hover { + background: #3cd6ed; + color: #fff; +} + +#footer .footer-top h4 { + font-size: 14px; + color: #fff; + position: relative; + padding-bottom: 12px; +} + +#footer .footer-top h4::before, #footer .footer-top h4::after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + height: 2px; +} + +#footer .footer-top h4::before { + right: 0; + background: #555; +} + +#footer .footer-top h4::after { + background: #3EC1D5; + width: 60px; +} +#footer .footer-top i { + color:#fff; +} + +#footer .footer-top a { + color:#fff; +} + +/*-------------------------------------------------------------- +# Intro Section +--------------------------------------------------------------*/ +#intro { + + width: 100%; + + /* background: #000; + display: table; + height: 100vh; + */ +} + +#intro .carousel-item { + width: 100%; + /* height: 100vh;*/ + background-size: cover; + background-position: center; + background-repeat: no-repeat; +} + +#intro .carousel-item::before { + content: ''; + background-color: rgba(0, 0, 0, 0.4); + position: absolute; + height: 100%; + width: 100%; + top: 0; + right: 0; + left: 0; + bottom: 0; +} + +#intro .carousel-container { + display: flex; + justify-content: left; + align-items: center; + position: absolute; + bottom: 0; + top: 0; + left: 0; + right: 0; +} + +#intro .carousel-content { + text-align: left; + padding-top:220px; +} + +#intro h2 { + color: #fff; + margin-bottom: 30px; + font-size: 48px; + font-weight: 700; +} + +@media (max-width: 768px) { + #intro h2 { + font-size: 28px; + } +} + +#intro p { + width: 100%; + margin: 0 auto 30px auto; + color: #fff; +} + +@media (min-width: 1024px) { + #intro p { + width: 100%; + font-size:45px; + } +} + +#intro .carousel-fade .carousel-inner .carousel-item { + -webkit-transition-property: opacity; + transition-property: opacity; +} + +#intro .carousel-fade .carousel-inner .carousel-item, +#intro .carousel-fade .carousel-inner .active.carousel-item-left, +#intro .carousel-fade .carousel-inner .active.carousel-item-right { + opacity: 0; +} + +#intro .carousel-fade .carousel-inner .active, +#intro .carousel-fade .carousel-inner .carousel-item-next.carousel-item-left, +#intro .carousel-fade .carousel-inner .carousel-item-prev.carousel-item-right { + opacity: 1; + transition: 0.5s; +} + +#intro .carousel-fade .carousel-inner .carousel-item-next, +#intro .carousel-fade .carousel-inner .carousel-item-prev, +#intro .carousel-fade .carousel-inner .active.carousel-item-left, +#intro .carousel-fade .carousel-inner .active.carousel-item-right { + left: 0; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} + +#intro .carousel-control-prev, #intro .carousel-control-next { + width: 10%; +} + +@media (min-width: 1024px) { + #intro .carousel-control-prev, #intro .carousel-control-next { + width: 5%; + } +} + +#intro .carousel-control-next-icon, #intro .carousel-control-prev-icon { + background: none; + font-size: 32px; + line-height: 1; +} + +#intro .carousel-indicators li { + cursor: pointer; +} + +#intro .btn-get-started { + font-family: "Open Sans", sans-serif; + font-weight: 500; + font-size: 16px; + letter-spacing: 1px; + display: inline-block; + padding: 8px 32px; + border-radius: 50px; + transition: 0.5s; + margin: 10px; + color: #fff; + background: #18d26e; +} + +#intro .btn-get-started:hover { + background: #fff; + color: #18d26e; +} + +.downArrow{ + position: absolute; + bottom: 0%; + left: 50%; +} +.bounce { + -moz-animation: bounce 3s infinite; + -webkit-animation: bounce 3s infinite; + animation: bounce 3s infinite; +} +@-moz-keyframes bounce { + 0%, 20%, 50%, 80%, 100% { + -moz-transform: translateY(0); + transform: translateY(0); + } + 40% { + -moz-transform: translateY(-30px); + transform: translateY(-30px); + } + 60% { + -moz-transform: translateY(-15px); + transform: translateY(-15px); + } +} +@-webkit-keyframes bounce { + 0%, 20%, 50%, 80%, 100% { + -webkit-transform: translateY(0); + transform: translateY(0); + } + 40% { + -webkit-transform: translateY(-30px); + transform: translateY(-30px); + } + 60% { + -webkit-transform: translateY(-15px); + transform: translateY(-15px); + } +} +@keyframes bounce { + 0%, 20%, 50%, 80%, 100% { + -moz-transform: translateY(0); + -ms-transform: translateY(0); + -webkit-transform: translateY(0); + transform: translateY(0); + } + 40% { + -moz-transform: translateY(-30px); + -ms-transform: translateY(-30px); + -webkit-transform: translateY(-30px); + transform: translateY(-30px); + } + 60% { + -moz-transform: translateY(-15px); + -ms-transform: translateY(-15px); + -webkit-transform: translateY(-15px); + transform: translateY(-15px); + } +} + +/* the blue circle with only one line of text, centered vertically */ +.oneline:after { + content: ""; + display: block; + width: 100%; + height: 0; + padding-bottom: 100%; + background: cadetblue; + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + border-radius: 50%; +} +.oneline:hover:after { + background-color: #3EC1D5; +} +.oneline div { + float: left; + width: 100%; + padding-top: 19%; + line-height: 1em; + margin-top: -1.7em; + text-align: center; + color: white; +} +.oneline p { + text-align: center; + font-size: 1.2em; +} + +@media only screen and (min-width: 350px) { + .col { + display: inline-block; + position: relative; + width: 100%; + margin: 4% 0 5% 9%; + padding: 0; + background-color: transparent; + border-top: none; + height:260px; + } + .col .spacer { + position: relative; + padding-top: 100%; + } + .col:nth-child(3n+1) { + margin-left: 1%; + } + + .circle { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + background-color: powderblue; + color: #333; + border-radius: 50%; + box-sizing: border-box; + text-align: center; + display: block; + padding: 5px; + border: 5px solid #9dd8e0; + -webkit-transition: all 1s ease-out; + -moz-transition: all 1s ease-out; + -o-transition: all 1s ease-out; + transition: all 1s ease-out; + } + .circle:before { + content: ''; + display: inline-block; + height: 100%; + vertical-align: middle; + margin-right: -2%; + } + .circle:hover { + /* background-color: #a7a9ab;*/ + background-color:#3EC1D5; + border: 5px solid #444; + color: #fff; + } +/*new class added for text hover*/ + .circle:hover h4{ + /* background-color: #a7a9ab;*/ + background-color:#3EC1D5; + + color: #fff; + } + + .outline { + border: 5px solid grey; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + border-radius: 50%; + box-sizing: border-box; + } + + .circle h1 { + font-size: 0.9em; + line-height: 1em; + } + .circle p { + font-size: 0.8em; + line-height: 1em; + color: white; + text-align: center; + } + .circle a { + color: inherit; + } + .circle > p, .circle > h1, .circle > .wrapcontent { + display: inline-block; + vertical-align: middle; + } + .circle > p > p, .circle > p > h1, .circle > h1 > p, .circle > h1 > h1, .circle > .wrapcontent > p, .circle > .wrapcontent > h1 { + display: block; + } +} +@media only screen and (min-width: 481px) { + .circle h1 { + font-size: 1.2em; + line-height: 1em; + } + .circle p { + font-size: 1em; + line-height: 1em; + } +} +@media only screen and (min-width: 768px) { + .circle h1 { + font-size: 1.6em; + line-height: 1em; + } + .circle p { + font-size: 1.2em; + line-height: 1em; + } +} + + +/*Accordian*/ + +.accordion { + width: 100%; + max-width: 1080px; + height: 250px; + overflow: hidden; + margin: 50px auto; + +} +.accordion ul { + width: 100%; + display: table; + table-layout: fixed; + margin: 0; + padding: 0; + +} +.accordion ul li { + display: table-cell; + vertical-align: bottom; + position: relative; + width: 16.666%; + height: 250px; + background-repeat: no-repeat; + background-position: center center; + transition: all 500ms ease; +} +.accordion ul li div { + display: block; + overflow: hidden; + width: 100%; + padding:32px; +height: 287px; +margin-top: -124px; +} +.accordion ul li div a{ + display: block; + /*height: 250px;*/ + width: 100%; + position: relative; + z-index: 3; + vertical-align: bottom; + /* padding: 15px 20px;*/ + box-sizing: border-box; + color: #fff; + text-decoration: none; + font-family: Open Sans, sans-serif; + transition: all 200ms ease; + +} +.accordion ul li div a * { + opacity: 0; + margin: 0; + width: 100%; + text-overflow: ellipsis; + position: relative; + z-index: 5; + white-space: nowrap; + overflow: hidden; + -webkit-transform: translateX(-20px); + transform: translateX(-20px); + -webkit-transition: all 400ms ease; + transition: all 400ms ease; +} +.accordion ul li div a h2 { + font-family: Montserrat,sans-serif; + text-overflow: clip; + font-size: 24px; + text-transform: uppercase; + margin-bottom: 2px; + /*top: 160px;*/ +} +.accordion ul li div a p { + /* top: 160px; + font-size: 13.5px;*/ + font-size: 16px; + line-height:2.2; + +} +.accordion ul li:nth-child(1) { + + background-image: url("http://files.vlabs.ac.in/iiith-landing-pages/img/disciplines/computer-science.jpg"); +} +.accordion ul li:nth-child(2) { + + background-image: url("http://files.vlabs.ac.in/iiith-landing-pages/img/disciplines/computer-science.jpg"); +} +.accordion ul li:nth-child(3) { + background-image: url("http://files.vlabs.ac.in/iiith-landing-pages/img/disciplines/computer-science.jpg"); + +} +.accordion ul li:nth-child(4) { + + background-image: url("http://files.vlabs.ac.in/iiith-landing-pages/img/disciplines/computer-science.jpg"); +} +.accordion ul li:nth-child(5) { + + background-image: url("http://files.vlabs.ac.in/iiith-landing-pages/img/disciplines/computer-science.jpg"); +} +.accordion ul li:nth-child(6) { + /* background-image: url("http://michael-ferry.com/assets/accordion6.jpg");*/ +} +.accordion ul:hover li { + width: 8%; +} +.accordion ul:hover li:hover { + width: 60%; +} +.accordion ul:hover li:hover a { + /*background: rgba(0, 0, 0, 0.4);*/ +} +.accordion ul:hover li:hover a * { + opacity: 1; + -webkit-transform: translateX(0); + transform: translateX(0); +} + +@media screen and (max-width: 600px) { + body { + margin: 0; + } + + .accordion { + /*height: auto;*/ +} + .accordion ul li, .accordion ul li:hover, .accordion ul:hover li, .accordion ul:hover li:hover { + position: relative; + display: table; + table-layout: fixed; + width: 100%; + -webkit-transition: none; + transition: none; +} +} +.about { + text-align: center; + font-family: 'Open Sans', sans-serif; + font-size: 12px; + color: #666; +} +.about a { + color: blue; + text-decoration: none; +} +.about a:hover { + text-decoration: underline; +} +/*accordion ends here*/ + + + +/*logo line*/ +.vline { + border-left: 2px solid #a7a9ab; +height: 62px; +position: absolute; +/*left: 10.5%;*/ +margin-left: -3px; +top: 15px; +} +/*logo line ends here*/ + + +/* style.scss */ + + +// Fonts +@import url(https://fonts.googleapis.com/css?family=Open+Sans); +@import url(https://fonts.googleapis.com/css?family=Montserrat:700); + +// Accordion Height +$a-height: 250px; + +// Position text along bottom +$text-offset: $a-height - 90; + +// Page Title +h1 { + + text-align:center; + font-family:Montserrat,sans-serif; + color:#333; + +} + +.accordion { + + width:100%; + max-width:1080px; + height:$a-height; + overflow:hidden; + margin:50px auto; + + ul { + + width:100%; + display:table; + table-layout:fixed; + margin:0; + padding:0; + + li { + + display:table-cell; + vertical-align:bottom; + position: relative; + width:16.666%; // 6 into 100 + height:$a-height; + + background-repeat:no-repeat; + background-position:center center; + + transition:all 500ms ease; + + div { + + display:block; + overflow:hidden; + width:100%; + + a { + + display:block; + height:$a-height; + width:100%; + + position:relative; + z-index:3; + vertical-align:bottom; + padding:15px 20px; + box-sizing:border-box; + color:#fff; + text-decoration:none; + font-family:Open Sans, sans-serif; + + transition:all 200ms ease; + + * { + + opacity:0; + margin:0; + width:100%; + text-overflow:ellipsis; + position:relative; + z-index:5; + + white-space:nowrap; + overflow:hidden; + + -webkit-transform:translateX(-20px); + transform:translateX(-20px); + + -webkit-transition:all 400ms ease; + transition:all 400ms ease; + + } + + h2 { + + font-family:Montserrat,sans-serif; + text-overflow:clip; + font-size:24px; + text-transform:uppercase; + margin-bottom:2px; + + top:$text-offset; + + } + + p { + + top:$text-offset; + font-size:13.5px; + + } + + } + + } + + } + + // Background images + li:nth-child(1) { background-image:url('http://michael-ferry.com/assets/accordion1.jpg'); } + li:nth-child(2) { background-image:url('http://michael-ferry.com/assets/accordion2.jpg'); } + li:nth-child(3) { background-image:url('http://michael-ferry.com/assets/accordion3.jpg'); } + li:nth-child(4) { background-image:url('http://michael-ferry.com/assets/accordion4.jpg'); } + li:nth-child(5) { background-image:url('http://michael-ferry.com/assets/accordion5.jpg'); } + li:nth-child(6) { background-image:url('http://michael-ferry.com/assets/accordion6.jpg'); } + + &:hover li, + &:focus-within li { width:8%; } + + li:focus { + outline: none; + } + + &:hover li:hover, + // allow users to tab through active slides + li:focus, + &:focus-within li:focus { + + width:60%; + + a { + + background:rgba(0,0,0,.4); + + * { + + opacity:1; + -webkit-transform:translateX(0); + transform:translateX(0); + + } + + } + + } + + &:hover li { + width: 8% !important; + + a * { opacity: 0 !important; } + } + + &:hover li:hover { + width:60% !important; + + a { + + background:rgba(0,0,0,.4); + + * { + + opacity:1 !important; + -webkit-transform:translateX(0); + transform:translateX(0); + + } + + } + } + + } + +} + +// Stack items +@media screen and (max-width: 600px) { + + // IE gets fussy if this isn't here + body { margin:0; } + + .accordion { + + height:auto; + + ul,ul:hover { + + li,li:hover { + + position:relative; + display:table; + table-layout:fixed; + width:100%; + + -webkit-transition:none; + transition:none; + + } + + } + + } + +} + +.about { + + text-align:center; + font-family:'Open Sans', sans-serif; + font-size:12px; + color:#666; + + a { + + color:blue; + text-decoration:none; + + &:hover { text-decoration:underline; } + + } + +} + +/* style.css */ + +/* +Theme Name: Vlabs +Theme URI: http://www.vlabs.ac.in +Author: Vlabs.co.in +Author URI: http://www.vlabs.ac.in +Description: The theme to accompany the profile site for vlabs.ac.in +Version: 1.0 +*/ +@import url(https://fonts.googleapis.com/css?family=Raleway:400,300,700,500,600); +body { + overflow-x: hidden; + font-family:'Raleway' !important; +} + +p { + font-size: 16px; +} + +/*** Calendar **********************/ +.content .container-fluid div.calender { position: relative; } + +.container-fluid .calender table { +cursor:pointer; +border:1px solid #ccc; +font-size: 11px; +color: #000; +background: #fff; +font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; +} + +.container-fluid .calender .button { +text-align: center; +padding: 2px; +} + +.container-fluid .calender .nav { +background:#f5f5f5; +} + +.container-fluid .calender thead .title { +font-weight: bold; +text-align: center; +background: #dedede; +color: #000; +padding: 2px 0 3px 0; +} + +.container-fluid .calender thead .headrow { +background: #f5f5f5; +color: #444; +font-weight:bold; +} + +.container-fluid .calender thead .daynames { +background: #fff; +color:#333; +font-weight:bold; +} + +.container-fluid .calender thead .name { +border-bottom: 1px dotted #ccc; +padding: 2px; +text-align: center; +color: #000; +} + +.container-fluid .calender thead .weekend { +color: #666; +} + +.container-fluid .calender thead .hilite { +background-color: #444; +color: #fff; +padding: 1px; +} + +.container-fluid .calender thead .active { +background-color: #d12f19; +color:#fff; +padding: 2px 0px 0px 2px; +} + + +.container-fluid .calender tbody .day { +width:1.8em; +color: #222; +text-align: right; +padding: 2px 2px 2px 2px; +} +.container-fluid .calender tbody .day.othermonth { +font-size: 80%; +color: #bbb; +} +.container-fluid .calender tbody .day.othermonth.oweekend { +color: #fbb; +} + +.container-fluid .calender table .wn { +padding: 2px 2px 2px 2px; +border-right: 1px solid #000; +background: #666; +} + +.container-fluid .calender tbody .rowhilite td { +background: #FFF1AF; +} + +.container-fluid .calender tbody .rowhilite td.wn { +background: #FFF1AF; +} + +.container-fluid .calender tbody td.hilite { +padding: 1px 1px 1px 1px; +background:#444 !important; +color:#fff !important; +} + +.container-fluid .calender tbody td.active { +color:#fff; +background: #529214 !important; +padding: 2px 2px 0px 2px; +} + +.container-fluid .calender tbody td.selected { +font-weight: bold; +border: 1px solid #888; +padding: 1px 1px 1px 1px; +background: #f5f5f5 !important; +color: #222 !important; +} + +.container-fluid .calender tbody td.weekend { +color: #666; +} + +.container-fluid .calender tbody td.today { +font-weight: bold; +color: #529214; +background:#D9EFC2; +} + +.container-fluid .calender tbody .disabled { color: #999; } + +.container-fluid .calender tbody .emptycell { +visibility: hidden; +} + +.container-fluid .calender tbody .emptyrow { +display: none; +} + +.container-fluid .calender tfoot .footrow { +text-align: center; +background: #556; +color: #fff; +} + +.container-fluid .calender tfoot .ttip { +background: #222; +color: #fff; +font-size:10px; +border-top: 1px solid #dedede; +padding: 3px; +} + +.container-fluid .calender tfoot .hilite { +background: #aaf; +border: 1px solid #04f; +color: #000; +padding: 1px; +} + +.container-fluid .calender tfoot .active { +background: #77c; +padding: 2px 0px 0px 2px; +} + +.container-fluid .calender .combo { +position: absolute; +display: none; +top: 0px; +left: 0px; +width: 4em; +border: 1px solid #ccc; +background: #f5f5f5; +color: #222; +font-size: 90%; +z-index: 100; +} + +.container-fluid .calender .combo .label, +.container-fluid .calender .combo .label-IEfix { +text-align: center; +padding: 1px; +} + +.container-fluid .calender .combo .label-IEfix { +width: 4em; +} + +.container-fluid .calender .combo .hilite { +background: #444; +color:#fff; +} + +.container-fluid .calender .combo .active { +border-top: 1px solid #999; +border-bottom: 1px solid #999; +background: #dedede; +font-weight: bold; +} +.container-fluid form li div label +{ + clear:both; + color:#444; + display:block; + font-size:9px; + line-height:9px; + margin:0; + padding-top:3px; +} + +.container-fluid form li span label +{ + clear:both; + color:#444; + display:block; + font-size:9px; + line-height:9px; + margin:0; + padding-top:3px; +} +.container-fluid form li .datepicker +{ + cursor:pointer !important; + float:left; + height:16px; + margin:.1em 5px 0 0; + padding:0; + width:16px; +} +.container-fluid input.text +{ + background:#fff url(../../../images/shadow.gif) repeat-x top; + border-bottom:1px solid #ddd; + border-left:1px solid #c3c3c3; + border-right:1px solid #c3c3c3; + border-top:1px solid #7c7c7c; + color:#333; + font-size:100%; + margin:0; + padding:2px 0; +} +p.small { + font-size: 16px; +} + + +.container-fluid form ul +{ + font-size:200%; + list-style-type:none; + margin:0; + padding:0; + width:100%; +} + +.container-fluid form li +{ + display:block; + margin:0; + padding:4px 5px 2px 9px; + position:relative; +} +a, +a:hover, +a:focus, +a:active, +a.active { + outline: 0; +} +@media(min-width:768px) { + .navbar-fixed-top { + padding: 25px 0; + -webkit-transition: padding .3s; + -moz-transition: padding .3s; + transition: padding .3s; + } + + .navbar-fixed-top .navbar-brand { + font-size: 2em; + -webkit-transition: all .3s; + -moz-transition: all .3s; + transition: all .3s; + } + + .navbar-fixed-top.navbar-shrink { + padding: 10px 0; + } + + .navbar-fixed-top.navbar-shrink .navbar-brand { + font-size: 1.5em; + } +} + +.navbar a:focus { + outline: 0; +} + +.navbar .navbar-nav li a:focus { + outline: 0; +} + +.navbar-default, +.navbar-inverse { + border: 0; +} +.footer-div +{ +margin-top:120px; +} + +/*******************************************************************************/ +/*****************************CUSTOME STYLE*************************************/ +/*******************************************************************************/ + +.search-textbox +{ + background: url("../images/search-box.png") no-repeat; + border: 0 none; + color: #666666; + float: left; + font-family: 'Raleway'; + font-size: 15px; + height: 36px; + margin: 0; + padding-left: 15px; + transition: background 0.3s ease-in-out 0s; + width: 220px; + +} + +.search-button +{ + background: url("../images/search.png") no-repeat; + cursor: pointer; + height: 36px; + text-indent: -99999em; + width: 36px; + border: 0px; + +} +.main-logo-a +{ + height: auto; + overflow: visible; + margin-left: 0px !important; + padding-bottom: 10px !important; + padding-top: 10px !important; +} + +.menu-a +{ + font-size: 14px !important; + font-family: 'Raleway' !important; + color: #2C99CD !important; + padding-left: 10px !important; + padding-bottom: 5px !important; + padding-top: 5px !important; + padding-right: 10px !important; + +} + +.menu-a-active +{ + color: white !important; +} + +.menu-li +{ + /* float: right; */ + border-radius: 10px; + margin-left: 20px; + margin-right: 20px; +} + +.menu-li:HOVER +{ + background-color: #77BB41 !important; +} + +.menu-a:HOVER +{ + color: white !important; +} +.menu-li-active +{ + background-color: #77BB41; +} + +.menu-div +{ + /* margin-top: 30px; */ + +} + +.menu-ul +{ + margin-top: 45px; +} + +@media only screen and (max-width: 375px) { + .featured-labs-experiment-div + { + text-align: center; + } + .featured-labs-experiment-icon + { + float: left; + min-width: 78px; + } +} + + +@media only screen and (min-width: 401px) { + + .custom-toggle + { + margin-bottom: 0px !important; + margin-top: 27px !important; + } +} + +@media only screen and (max-width: 400px) { + + .main-logo-a + { + width: 60%; + } + + .custom-toggle + { + margin-bottom: 0px !important; + margin-top: 12% !important; + } + + +/* .menu-div + { + margin-top: 30px !important; + } */ + +} + + + +@media only screen and (min-width: 401px) and (max-width: 523px) { + +/* .menu-div + { + margin-top: 30px !important; + } */ +} + +@media only screen and (max-width: 496px) { + + .featured-labs-div + { + background: none !important; + } +} + +@media only screen and (max-width: 540px) { + .broad-labs-empty-div + { + display: none; + } + .border-right-green-dotted + { + margin-top: 60px !important; + } +} + +@media only screen and (min-width: 401px) and (max-width: 767px) { + + .main-logo + { + width: 70%; + } +} + +@media only screen and (max-width: 767px) { + + .menu-ul + { + margin-top: 0px !important; + } + + .menu-li-active + { + background-color: white !important; + } + + .menu-a-active + { + color: #2C99CE !important; + } + + .search-ul + { + display: none !important; + } + + + +} + +@media only screen and (min-width: 768px) and (max-width: 991px) { + .menu-a + { + font-size: 1.4em !important; + } + + .main-logo + { + width: 70%; + } + + .banner-text-small + { + font-size: 1.2em !important; + } + + .banner-text-medium + { + font-size: 1.7em !important; + } + + .banner-text-big + { + font-size: 2.0em !important; + } + +} + +@media only screen and (max-width: 991px) { + .menu-ul + { + margin-top: 30px; + } + + .search-textbox + { + width: 150px; + font-size: 0.9em; + } + + .menu-li + { + margin-left: 10px; + margin-right: 10px; + } + .aboutus-col-8 + { + padding-right: 15px !important; + } + .footer-div + { + background-size: cover !important; + } + + .lab-list-col-10 + { + /* background: none !important; */ + overflow:hidden; + } + + .featured-labs-main-div + { + margin-top: -35px !important; + } +} + + +@media only screen and (min-width: 992px) and (max-width: 1199px) { + +} + + +/*====================new grid================================*/ +@media only screen and (min-width: 992px) { + .col-md-2-5 + { + width: 20%; + float: left; + } +} + +@media only screen and (max-width: 991px) { + .col-md-2-5 + { + width: 33.33%; + float: left; + } + .col-md-2-5-1-l + { + background: url("../images/dotted-devider-h-o.png") no-repeat; + background-position: left bottom; + } +} + +@media only screen and (max-width: 767px) { + .col-md-2-5 + { + width: 50%; + float: left; + } +} + +@media only screen and (max-width: 540px) { + .col-md-2-5 + { + width: 100%; + float: left; + } +} +.col-md-2-5 +{ + position: relative; + min-height: 1px; + vertical-align: bottom; + /* display: flex; */ + min-height: 228px; +} + +.col-md-2-5-1-l +{ + width: 100%; + min-height: 228px; + height: 100%; +} + +.col-md-2-5-1-withbg +{ + background: url("../images/dotted-devider-h-o.png") no-repeat; + background-position: left bottom; + width: 100%; + min-height: 228px; + height: 100%; +} + +.col-md-2-5-2 +{ + padding-right: 15px; + padding-left: 15px; +} +/*************************************************************/ + +.featured-labs-div +{ + margin-left: 0px !important; + margin-right: 0px !important; + padding-left: 15px !important; +} +.border-bottom-img +{ + /* border-bottom: 2px dotted; + border-top : 0px; + border-left: 0px; + border-right: 0px; + -webkit-border-image: url(../images/dotted-devider-h-o.png) 30 round; Safari 3.1-5 + -o-border-image: url(../images/dotted-devider-h-o.png) 30 round; Opera 11-12.1 + border-image: url(../images/dotted-devider-h-o.png) 30 round; */ +} + +.broad-labs-a:HOVER +{ + text-decoration: none !important; + +} +.col-md-2-5-1-l:HOVER, .col-md-2-5-1-withbg:HOVER +{ + background-color: #e4e4e4 !important; +} + +.border-right-green-dotted +{ + border-right: 2px dotted; + margin-top: 30px; + border-right-color: #678f48; + min-height: 115px; +} +.border-right-green-dotted a{ + padding-left: 1px; + display: block; + margin-bottom: 10px; +} +a:focus +{ + color: #72AB44 !important; +} + +.featured-labs +{ + min-height: 190px !important; +} +/*========================font classes=======================*/ +.text-h2-lightblue +{ + color: #2C99CE; + font-size: 1.8em; + +} + +.text-a-lightgreen +{ + color: #72AB44; + font-size: 1.3em; + text-decoration: underline; +} + +.text-a-lightgreen:HOVER +{ + color: #72AB44 !important; +} + +.text-a-white +{ + color: white; + font-size: 1.4em; + text-decoration: underline; +} + + +.text-h2-lightblue-small +{ + color: #2C99CE; + font-size: 1.5em; +} + +.text-h3-darkblue-bold +{ + color: #3e6389; + font-size: 1.4em; + font-weight: bold; +} + +.text-h3-darkblue +{ + color: #3e6389; + font-size: 1.4em; +} + +.text-normal-gray-small +{ + color: #888; + font-size: 16px; +} + +.text-normal-gray-big +{ + color: #888; + font-size: 30px; +} +#experiment-article-section-1-heading +{ +color: #888; +font-size: 30px; +} +.text-normal-gray-smallest +{ + color: #888; + font-size: 13px; +} + +.featured-labs-icon-text +{ + color: #888; + font-size: 13px; +} + +.featured-labs-main-div +{ + margin-top: -50px; +} + +.nounderline +{ + text-decoration: none; +} + +.nounderline:HOVER +{ + text-decoration: none !important; +} +.text-normal-gray-medium +{ + color: #888; + font-size: 1.4em; +} +/*===========================================================*/ + +.shadow +{ + -webkit-box-shadow: inset 0 8px 6px -6px black; + -moz-box-shadow: inset 0 8px 6px -6px black; + box-shadow: inset 0 8px 6px -6px black; +} + + +/*owl style sheet*/ +#owl-demo .item{ + display: block; + padding: 1px 10px; + margin: 5px; + color: #888; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +.owl-theme .owl-controls .owl-buttons div { + padding: 5px 9px; +} + +.owl-theme .owl-buttons i{ + margin-top: 2px; +} + +//To move navigation buttons outside use these settings: + +#owl-demo .owl-controls .owl-buttons div, #owl-partner-institutions .owl-controls .owl-buttons div{ + position: absolute; +} + +#owl-demo .owl-controls .owl-buttons .owl-prev{ + left: -45px; + top: 55px; + position: absolute; + background: none !important; +} + + #owl-partner-institutions .owl-controls .owl-buttons .owl-prev + { + left: -45px; + top: 20px; + position: absolute; + background: none !important; + } + +#owl-demo .owl-controls .owl-buttons .owl-next{ + right: -45px; + top: 55px; + position: absolute; + background: none !important; +} + +#owl-partner-institutions .owl-controls .owl-buttons .owl-next +{ + right: -45px; + top: 20px; + position: absolute; + background: none !important; +} + +#owl-demo .owl-controls .owl-pagination, #owl-partner-institutions .owl-controls .owl-pagination +{ + display: none; +} + +#owl-aboutus .owl-controls .owl-buttons +{ + display: none; +} + +#owl-aboutus .owl-controls .owl-pagination +{ + text-align: left; +} +#owl-aboutus .owl-controls .owl-page span +{ + background-color: white; + border: 2px solid; + height: 20px; + width: 20px; +} + +#owl-aboutus .owl-controls .owl-page.active span, #owl-aboutus .owl-controls.clickable .owl-page:hover span +{ + background-color: #FF6600; + border: 0px; +} +/*******************/ + + +/*Labs page*/ +.sidebar-col-2 +{ + +} + +.lab-list-col-10 +{ + background: url("../images/devider-blue-v-o.png") repeat-y; + background-position: left top; + margin-bottom: 25px; +} + +.sidebar-a:HOVER, .text-h3-darkblue:HOVER { + color: #ff6600 !important; +} + +.lab-list-row-div +{ + background: url('../images/bottom-line-n.png') no-repeat; + background-position: left bottom; + height: auto; + overflow: hidden; + border-bottom: 1.5px dotted; + border-bottom-color: #888; + padding-bottom: 10px; +} + +.lab-list-row-col-2 +{ + margin-top: 15px; +} + +/**********************************************************************************/ + +.banner-text +{ + position: relative; + top: -59px; + color: white !important; +} + +.banner-text-small +{ + font-size: 1.7em; +} + +.banner-text-medium +{ + font-size: 2.2em; +} + +.banner-text-big +{ + font-size: 2.7em; +} + +.baneer-text-sub-div +{ + position: relative; + float: left +} + +.banner-text-1 +{ + left: 3.7%; +} + +.banner-text-2 +{ + left: 9.6%; +} + +.banner-text-3 +{ + left: 15%; +} + +.banner-text-4 +{ + left:22%; +} + +.banner-caption-div +{ + position: absolute; + top: 140px; + left: 42%; +} + +.banner-caption-text +{ + font-size: 2.0em; + line-height: normal; + color: black; +} + + +/*==========================RESPONSIVE+++++++++++++++++++++++++++++++*/ + +@media only screen and (max-width: 399px) { + + .banner-text-small + { + font-size: 0.8em !important; + } + + .banner-text-medium + { + font-size: 0.9em !important; + } + + .banner-text-big + { + font-size: 1.1em !important; + } + + .banner-text + { + top: -21px; + letter-spacing: -1.5px; + } + + .banner-text-1 + { + left: 1.5%; + } + + .banner-text-2 + { + left: 3.0%; + } + + .banner-text-3 + { + left: 5%; + } + + .banner-text-4 + { + left: 8%; + } + +} + +@media only screen and (min-width: 400px) and (max-width: 500px) { + .banner-text-small + { + font-size: 0.9em !important; + } + + .banner-text-medium + { + font-size: 1.1em !important; + } + + .banner-text-big + { + font-size: 1.2em !important; + } + + .banner-text + { + top: -24px; + letter-spacing: -1px; + } + + .banner-text-2 + { + left: 7.0%; + } + + .banner-text-3 + { + left: 12%; + } + + .banner-text-4 + { + left: 17%; + } +} + +@media only screen and (min-width: 501px) and (max-width: 767px) { + .banner-text-small + { + font-size: 0.9em !important; + } + + .banner-text-medium + { + font-size: 1.2em !important; + } + + .banner-text-big + { + font-size: 1.4em !important; + } + .banner-text + { + top: -30px; + } + + .banner-text-2 + { + left: 7.0%; + } + + .banner-text-3 + { + left: 12%; + } + + .banner-text-4 + { + left: 17%; + } +} + + +@media only screen and (max-width: 349px) { + + .banner-caption-text + { + font-size: 0.5em; + } + +} + +@media only screen and (min-width: 350px) and (max-width: 400px) { + + .banner-caption-text + { + font-size: 0.6em; + } + +} + + +@media only screen and (min-width: 401px) and (max-width: 444px) { + + .banner-caption-text + { + font-size: 0.7em; + } + +} + + +@media only screen and (min-width: 445px) and (max-width: 609px) { + + .banner-caption-text + { + font-size: 0.9em; + } + +} + +@media only screen and (min-width: 610px) and (max-width: 767px) { + + .banner-caption-text + { + font-size: 1.1em; + } + +} + +@media only screen and (max-width: 767px) { + .banner-caption-div + { + position: relative !important; + } +} + +@media only screen and (max-width: 346px) { + .banner-caption-div + { + top: -39px; + left: -32%; + } +} + +@media only screen and (min-width: 347px) and (max-width: 399px) { + .banner-caption-div + { + top: -43px; + left: -22%; + } +} + +@media only screen and (min-width: 400px) and (max-width: 444px) { + .banner-caption-div + { + top: -50px; + left: -31%; + } +} + +@media only screen and (min-width: 445px) and (max-width: 500px) { + .banner-caption-div + { + top: -57px; + left: -23%; + } +} + +@media only screen and (min-width: 501px) and (max-width: 569px) { + .banner-caption-div + { + top: -65px; + left: -30%; + } +} + +@media only screen and (min-width: 570px) and (max-width: 639px) { + .banner-caption-div + { + top: -74px; + left: -22%; + } +} + +@media only screen and (min-width: 640px) and (max-width: 709px) { + .banner-caption-div + { + top: -83px; + left: -16%; + } +} + +@media only screen and (min-width: 710px) and (max-width: 767px) { + .banner-caption-div + { + top: -92px; + left: -11%; + } +} + + +@media only screen and (min-width: 768px) and (max-width: 991px) { + + .banner-text-small + { + font-size: 1.2em !important; + } + + .banner-text-medium + { + font-size: 1.7em !important; + } + + .banner-text-big + { + font-size: 2.0em !important; + } + + .banner-text + { + top: -40px; + } + + .banner-text-2 + { + left: 7.0%; + } + + .banner-text-3 + { + left: 12%; + } + + .banner-text-4 + { + left: 17%; + } + + .banner-caption-text + { + font-size: 1.5em; + } + .banner-caption-div + { + top: 99px; + } +} + +@media only screen and (min-width: 992px) and (max-width: 1100px) { + + .banner-text + { + top: -52px; + } +} + +@media only screen and (min-width: 992px) and (max-width: 1150px) { + + .banner-text-2 + { + left: 7.0%; + } + + .banner-text-3 + { + left: 9%; + } + + .banner-text-4 + { + left: 12%; + } + + .banner-caption-text + { + font-size: 1.6em; + } + .banner-caption-div + { + top: 133px; + } +} + +@media only screen and (min-width: 1150px) and (max-width: 1275px) { + + .banner-text-2 + { + left: 8.3%; + } + .banner-text-3 + { + left: 12%; + } + + .banner-text-4 + { + left: 17%; + } + + .banner-caption-text + { + font-size: 1.8em; + } +} + +/* Rules to fix the footer at the bottom of the page */ +/*html{ height:100%; } +body{ min-height:100%; padding:0; margin:0; position:relative; } + +body::after{ content:''; display:block; height:100px; }*/ + +footer{ + width:100%; +} + +/* To justify the paragraph text */ +p { + text-align: justify; +} + +/* Styles for feedback button in feedback section */ +#feedback-btn { + color: #2C99CE !important; + border-color: #2C99CE !important; +} + +#feedback-btn-link { + display: block; + margin: auto; + width: 17%; +} + +#feedback-btn-link:hover { + text-decoration: inherit !important; + color: inherit !important; +} + +/*Styles for list*/ +ul li span, ol li span { + font-size: 1.3em +} + +ul li, ol li{ + font-size: 1.1em +} + +/*Styles for progress bars*/ +.progress { + font-weight: bold; +} + +.progress-bar-green { + background-color: #008000; +} + +.progress-bar-blue { + background-color: #130e71; +} + +.progress-bar-red { + background-color: #d9534f; +} + +#progress-bar-header { + background-color: #fff; + border-radius: 6px; + padding: 22px; + box-shadow: 0 0 4px 0 rgba(17,22,26,.16),0 2px 4px 0 rgba(17,22,26,.08),0 4px 8px 0 rgba(17,22,26,.08); +} diff --git a/src/lab/css/style.css b/src/lab/css/style.css index 39a0ab49d..e94d8acc7 100644 --- a/src/lab/css/style.css +++ b/src/lab/css/style.css @@ -33,9 +33,21 @@ background: #fff; font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; } -.container-fluid .calender .button { -text-align: center; -padding: 2px; +/* Styles for feedback button in feedback section */ +#feedback-btn { + color: #2C99CE !important; + border-color: #2C99CE !important; +} + +#feedback-btn-link { + display: block; + margin: auto; + width: 17%; +} + +#feedback-btn-link:hover { + text-decoration: inherit !important; + color: inherit !important; } .container-fluid .calender .nav { @@ -810,9 +822,17 @@ a:focus { color: #2C99CE; font-size: 1.8em; - + margin-top: 5px; + margin-bottom:20px; } +.text-h1-lightblue +{ + color: #2C99CE; + font-size: 1.8em; + font-weight: bold; + text-align : center; +} .text-a-lightgreen { color: #72AB44; @@ -924,7 +944,7 @@ font-size: 30px; } .owl-theme .owl-buttons i{ - margin-top: 2px; + margin-top: 2px; } //To move navigation buttons outside use these settings: @@ -996,18 +1016,31 @@ font-size: 30px; /*Labs page*/ .sidebar-col-2 { - + margin-bottom : 15px; } .lab-list-col-10 { background: url("../images/devider-blue-v-o.png") repeat-y; background-position: left top; - margin-bottom: 25px; + margin-bottom: 15px; } .sidebar-a:HOVER, .text-h3-darkblue:HOVER { - color: #ff6600 !important; + color: #ff6600 !important; + } +h3 +{ + line-height: 32px; +} +h1 +{ + line-height:50px; + font-family: 'Montserrat', sans-serif; +} +h2 +{ + margin-bottom: 15px ; } .lab-list-row-div diff --git a/src/lab/exp1/Experiment.html b/src/lab/exp1/Experiment.html index 165dea030..857e05259 100644 --- a/src/lab/exp1/Experiment.html +++ b/src/lab/exp1/Experiment.html @@ -1,55 +1,83 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
    -
    - -

+
+ +
+ + + + +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Points & Co-ordinate Systems

+
+

+
    +
  1. + Please download the appropriate Virtual Lab Graphics package below.
    + Download
    +
  2. +
  3. Save the VirtualLabGraphics.zip file and double click it to extract.
  4. +
  5. + Run the Start.jar in the extracted folder (VirtualLabGraphics folder) to start the experiments. +
      +
    • + Windows/MacOSX users can start the experiment by double clicking the Start.jar file. +
    • +
    • + Linux users should run Start.jar by executing the following command in the terminal.
      + Change to the Virtual Lab Directory.
      + $ cd VirtualLabGraphics/
      + Execute the experiment using the command:
      + $ java -jar Start.jar +
    • +
    +
  6. +
  7. + Alternate Method: If you are not able to start the experiment by the above procedures, you can try the alternate method given below. +
      +
    • + Alternatively, Linux/MacOSX users can start the experiment by as described below.
      + Change to the Virtual Lab Directory.
      + $ cd VirtualLabGraphics/
      + Execute the experiment using the command:
      + $ ./Experiment.sh 1 +
    • +
    • + Alternatively, Windows users can start the experiment by double clicking the Experiment1.bat file. +
    • +
    +
  8. +
+ -

-
-
-
- - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +

+

+
+ + + + + + + + + + + + + + diff --git a/src/lab/exp1/Feedback.html b/src/lab/exp1/Feedback.html index ed68f9de0..3ffe072be 100644 --- a/src/lab/exp1/Feedback.html +++ b/src/lab/exp1/Feedback.html @@ -1,211 +1,214 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + Welcome to Virtual Labs - A MHRD Govt of india Initiative + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Points & Co-ordinate Systems

+
+

Dear User,

+ +

Thanks for using Virtual Labs. Your opinion is valuable to us. To help us improve, we'd like to ask you a few questions about your experience. It will only take 3 minutes and your answers will help us make Virtual Labs better for you and other users. +

+
+ + + + +
+
+ +

Thanks for your time ! +
+ The Virtual Labs Team +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp1/Further Readings.html b/src/lab/exp1/Further Readings.html index 99a36ad8b..5fd9709ad 100644 --- a/src/lab/exp1/Further Readings.html +++ b/src/lab/exp1/Further Readings.html @@ -1,224 +1,211 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + Welcome to Virtual Labs - A MHRD Govt of india Initiative + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+ + + + + +
+ + + + diff --git a/src/lab/exp1/Introduction.html b/src/lab/exp1/Introduction.html index 044e0dae8..b6b80e1ff 100644 --- a/src/lab/exp1/Introduction.html +++ b/src/lab/exp1/Introduction.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Points & Co-ordinate Systems

+
+

+ This experiment explains how points and co-ordinate systems are used together to represent two and three dimensional shapes. +

+ Position Vector +
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp1/Manual.html b/src/lab/exp1/Manual.html index a8062ee75..c12ced65f 100644 --- a/src/lab/exp1/Manual.html +++ b/src/lab/exp1/Manual.html @@ -1,54 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + + - - - - - -
- - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + diff --git a/src/lab/exp1/Objective.html b/src/lab/exp1/Objective.html index 7d53e3206..387b3187a 100644 --- a/src/lab/exp1/Objective.html +++ b/src/lab/exp1/Objective.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Points & Co-ordinate Systems

+
+

+ Objective of this experiment is to understand the representation of points in 2D or 3D space with orthogonal as well as non-orthogonal coordinate systems. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp1/Procedure.html b/src/lab/exp1/Procedure.html index b6c099dff..d3d69db89 100644 --- a/src/lab/exp1/Procedure.html +++ b/src/lab/exp1/Procedure.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Points & Co-ordinate Systems

+
+

+ This experiment is designed to teach how points and co-ordinate systems are represented in computer graphics. The tree at the right shows a point and the associated co-ordinate system. +

+

+ Start by editing the co-ordinates of the point and comparing how the point gets displayed. The co-ordinates can be edited by clicking on the node under Instance->Shape->Vertices +

+

+ Now try modifying the co-ordinate system's origin and axis directions. This can be done by clicking on the nodes under Instance->Co-ordinate System. Notice how the point is redrawn using + the modified co-ordinate system. Also notice how the absolute co-ordinates are displayed. +

+

+ All points shown within '[' and ']' use homogeneous co-ordinates, i.e., the fourth component w acts as a scaling factor for calculating the cartesian co-ordinates. Modify this component and + notice how the point's co-ordinates get scaled. +

+

+ You can also modify the absolute co-ordinates of the point and see how the relative co-ordinates get calculated with respect to the co-ordinate system. +

+

+ This scene is currently shown in 2D but you can switch to 3D under the Display tab and perform all the previous actions in 3D. Drag with the right mouse button to rotate the view and use the mouse wheel + to zoom in and out. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp1/Quizzes.html b/src/lab/exp1/Quizzes.html index 80952cf00..7eaf9aa35 100644 --- a/src/lab/exp1/Quizzes.html +++ b/src/lab/exp1/Quizzes.html @@ -1,55 +1,84 @@ - + + + + + - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - + + + + + - - - - - + Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - -
-
- - +
- - +
+
+
+
+
+ +
+ - - + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

- - - - - - - - +
+ +
+ +

Points & Co-ordinate Systems

+
+ +
+
Quiz Points
+

+ Q1. + Enter the points with brackets and a comman between. Ex. (5, -3)
+

+
    +
  1. + Point A + +
  2. +
  3. + Point B + +
  4. +
  5. + Point C + +
  6. +
  7. + Point D + +
  8. +
  9. + Point E + +
  10. +
+
+

+

+ Q2. + What is the point whose distance from XY plane is 3, YZ plane is -4 and XZ plane is 9 ?
+ + (3, 0, -4)
+ + (-4, 3, 9)
+ + (-4, 9, 3)
+ + (-4, 9, 9) +

+

+ Q3. + Convert the coordinate (12, 24, 42, 6) from homogeneous form to ordinary cartesian coordinates.
+ + (4, 2, 7)
+ + (7, 2, 4)
+ + (2, 4, 7)
+ + (2, 4, 4) +

+

+ + +

+
+
+
+
+
+ +
+ - \ No newline at end of file + +
+ + + + diff --git a/src/lab/exp1/Theory.html b/src/lab/exp1/Theory.html index 6e7d2ccb6..d1990e11c 100644 --- a/src/lab/exp1/Theory.html +++ b/src/lab/exp1/Theory.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + List Of Experiments
+

+ +
+ + +
+ +

Points & Co-ordinate Systems

+
+
2-d vectors
+

+ Two dimensional points are represented as perpendicular distance from orthogonal axes, usually called X and Y. So (2,3) represents a point 2 units from the y-axis and 3 units from the x-axis. If the + co-ordinate axes are non-orthogonal, the point represents distances taken parallel to the axes. +

+

+ Three dimensional points are represented as distances from each of the three planes formed by the axes. So (2,3,4) represents a point 2 units from YZ-plane, 3 units from XZ-plane and 4 units from + XY-plane. +

+

+ Coordinates can be 'homogenized' by adding an extra value to the tuple. In 3 dimensions, points are represented as (x,y,z,w) which is equivalent to (x/w, y/w, z/w) in ordinary co-ordinates. This is a + convenient representation used heavily in computer graphics as it allows writing the common operations such as translation as a linear product. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp10/Experiment.html b/src/lab/exp10/Experiment.html index 6ef53c479..52f8bfe57 100644 --- a/src/lab/exp10/Experiment.html +++ b/src/lab/exp10/Experiment.html @@ -1,216 +1,181 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- - - -
- - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file diff --git a/src/lab/exp10/Feedback.html b/src/lab/exp10/Feedback.html index 12a28ce10..1df931634 100644 --- a/src/lab/exp10/Feedback.html +++ b/src/lab/exp10/Feedback.html @@ -1,212 +1,195 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- - - -
- - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file diff --git a/src/lab/exp10/Further Readings.html b/src/lab/exp10/Further Readings.html index 84f170547..980a4cf10 100644 --- a/src/lab/exp10/Further Readings.html +++ b/src/lab/exp10/Further Readings.html @@ -1,218 +1,184 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- -
-
-
-
-
-
- - - -
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

- -
- - -
- - -

Rasterization : Polygon

-
    -
  1. Scanline rendering
  2. -
  3. James D. Foley. Computer graphics: Principles and Practice. Addison-Wesley Professional.
  4. -
  5. Computer Graphics, C Version by Donald Hearn and M. Pauline Baker
  6. -
-
-
-
- - - -
- -
- - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file diff --git a/src/lab/exp10/Introduction.html b/src/lab/exp10/Introduction.html index 816c95898..c484f32e2 100644 --- a/src/lab/exp10/Introduction.html +++ b/src/lab/exp10/Introduction.html @@ -1,227 +1,194 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- -
-
-
-
-
-
- - - -
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

- -
- - -
- - -

Rasterization : Polygon

-

- In digital display systems, everything that is displayed, is displayed in terms of a smallest unit of display, which is called a pixel. - This is in contrast to what we perceive the world to be as continuous. - The space occupied by any image in digital display system is measured in terms of pixels. - Thus we require to transform the continuous space in which we define he geometry of any figure to a discrete space for display in digital displays. This transformation is called rasterization or scan conversion

- When a polygon is transformed from a set of edges in the continous form of y = mx + c into a set of pixels occupied by the interior of the polygon, this transformation is called polygon rasterization. - Thus when we apply polygon rasterization technique on a polygon, we obtain the set of pixels that are required to be filled in order to fill the entire interior area bounded by the edges of the polygon in the best possible manner. - Some common algorithms to perform polygon rasterization are as follows: -

    -
  1. Scan-Line Polygon Fill algorithm
  2. -
  3. Seed Fill or Boundary Fill algorithm
  4. -
- Here we have discussed only the Scan-Line Polygon Fill algorithm. -

-
-
-
- - - -
- -
- - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file +s \ No newline at end of file diff --git a/src/lab/exp10/Manual.html b/src/lab/exp10/Manual.html index e42667825..9233ca09c 100644 --- a/src/lab/exp10/Manual.html +++ b/src/lab/exp10/Manual.html @@ -1,220 +1,184 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- -
-
-
-
-
-
- - - -
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

- -
- - -
- - -

Rasterization : Polygon

-
    -
  1. The experiment contains a frame buffer which represents the screen to which the graphics primitives (polygon in this case) are rendered to.
  2. -
  3. The experiment allows the user to change the size of the frame buffer.
  4. -
  5. The experiment allows the user to choose the vertices of the polygon. In this experiment we can fill different kinds of polygon like convex, concave, self intersecting polygons.
  6. -
  7. The user can move forward and backward through the steps of the experiment.
  8. -
  9. At each step of the algorithm, the important computations that took place in that step are also given for better understanding of the algorithm.
  10. -
-
-
-
- - - -
- -
- - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file diff --git a/src/lab/exp10/Objective.html b/src/lab/exp10/Objective.html index 8ca8dc573..93fa316dc 100644 --- a/src/lab/exp10/Objective.html +++ b/src/lab/exp10/Objective.html @@ -1,216 +1,180 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- -
-
-
-
-
-
- - - -
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

- -
- - -
- - -

Rasterization : Polygon

-

- Objective of this experiment is to understand the steps of filling a polygon in a 2D frame buffer. Given the vertices of the polygon, the experiment outputs a filled polygon. Here we have demonstrated the steps of Scan Line Poylgon Fill algorithm. -

-
-
-
- - - -
- -
- - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file diff --git a/src/lab/exp10/Procedure.html b/src/lab/exp10/Procedure.html index 99b074cb8..f8b0d1d41 100644 --- a/src/lab/exp10/Procedure.html +++ b/src/lab/exp10/Procedure.html @@ -1,222 +1,189 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- -
-
-
-
-
-
- - - -
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

- -
- - -
- - -

Rasterization : Polygon

-
    -
  1. Fix the size of the frame buffer (the default parameters are already filled in the input boxes) and then click on Enter.
    - You can also proceed directly to the experiment using the default parameters of the size of frame buffer and the vertices of a polygon, by clicking on Start Experiment with Default Values.
  2. -
  3. Enter the vertices of the polygon in the input box.
    - Let, (x1, y1), (x2, y2), (x3, y3), (x4, y4), (x5, y5)
    represent the vertices of the polygon in order, i.e., the 1st vertex is connected to the 2nd and 2nd to the 3rd and so on. The last vertex is connected to the 1st to complete the polygon.
    - The default vertices are already filled in the input boxes. Once you have finalized the coordinates, you can click on Start Experiment to begin with the experiment.
    - You can also go Back to change the values of the frame buffer.
  4. -
  5. Throughout the experiment, you can click on Next Iteration to go tothe next step of the algorithm and Previous Ieration to go to the previous step.
  6. -
  7. Once the experiment ends, you can again experiment with a new set of vertices of the polygon.
  8. -
-
-
-
- - - -
- -
- -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file diff --git a/src/lab/exp10/Quizzes.html b/src/lab/exp10/Quizzes.html index b3f5c4ed1..a89e6a301 100644 --- a/src/lab/exp10/Quizzes.html +++ b/src/lab/exp10/Quizzes.html @@ -1,214 +1,179 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
-
-
-
-
-
-
- - - - - - - - -
- -
- -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file diff --git a/src/lab/exp10/Theory.html b/src/lab/exp10/Theory.html index c74e88534..5b88913ee 100644 --- a/src/lab/exp10/Theory.html +++ b/src/lab/exp10/Theory.html @@ -1,126 +1,151 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - -
-
- - -
-
-
-
-
-
-
- - - -
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

- -
- - -
- - -

Rasterization : Polygon

-

-

Scan Line Polygon Fill Algorithm

-

Pseudo Code of the algorithm

-Input : Vertices of the polygon, (xi, yi) ∀i = {1, 2, ..., n}, n = #vertices in the polygon. -We have the following data structures to maintain data: -
    -
  • Edge Table (ET) : Contains all the edges (except horizontal edges) of the polygon sorted by their smaller y-coordinates. All the edges having equal smaller y-coordinates are kept in the same bucket, where they are sorted by the corresponding x-coordinate.
    - In each cell, the following information is maintained: -
      -
    1. y_upper : last scanline to consider for this edge
    2. -
    3. x_lower : corresponding x coordinate for the smaller value y value of the edge
    4. -
    5. 1/m : to compute the corresponding x coordinate of the edge for each scanline
    6. -
  • -
  • Active Edge Table (AET) : Contains the edges that intersect with the current scan line. For each scan line, the edges are sorted in an increasing order of the x coordinate of the point of intersection.
    - In each cell, the following information is maintained: -
      -
    1. y_upper : last scanline to consider for this edge
    2. -
    3. x_lower : x coordinate value of the edge for the present scan line
    4. -
    5. 1/m : to compute the corresponding x coordinate of the edge for each scanline
    6. -
  • -
-
+ + + + + + + + + + Welcome to Virtual Labs - A MHRD Govt of india Initiative + + + + + + + + + + + + + + + + +
+
+ + +
+
+
+
+
+
+ +
+ + +
+

Computer Science & Engineering Computer Graphics Experiments

+
+ +
+ +

Rasterization : Polygon

+
+

+

Scan Line Polygon Fill Algorithm

+

Pseudo Code of the algorithm

+ Input : Vertices of the polygon, (xi, yi) ∀i = {1, 2, ..., n}, n = #vertices in the polygon. + We have the following data structures to maintain data: +
    +
  • + Edge Table (ET) : Contains all the edges (except horizontal edges) of the polygon sorted by their smaller y-coordinates. All the edges having equal smaller y-coordinates are kept in the same bucket, where they are sorted by the corresponding x-coordinate.
    + In each cell, the following information is maintained: +
      +
    1. y_upper : last scanline to consider for this edge
    2. +
    3. x_lower : corresponding x coordinate for the smaller value y value of the edge
    4. +
    5. 1/m : to compute the corresponding x coordinate of the edge for each scanline
    6. +
    +
  • +
  • + Active Edge Table (AET) : Contains the edges that intersect with the current scan line. For each scan line, the edges are sorted in an increasing order of the x coordinate of the point of intersection.
    + In each cell, the following information is maintained: +
      +
    1. y_upper : last scanline to consider for this edge
    2. +
    3. x_lower : x coordinate value of the edge for the present scan line
    4. +
    5. 1/m : to compute the corresponding x coordinate of the edge for each scanline
    6. +
    +
  • +
+
Steps of the Algorithm
  1. AET is initially empty.
  2. @@ -150,117 +175,60 @@

    Pseudo Code of the algorithm

-
-

-
-
-
- - - - - -
- -
+ +
-
-
-
- - - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file diff --git a/src/lab/exp2/Experiment.html b/src/lab/exp2/Experiment.html index 1dcd8b0be..33be21184 100644 --- a/src/lab/exp2/Experiment.html +++ b/src/lab/exp2/Experiment.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Translation

+
+

+
    +
  1. + Please download the appropriate Virtual Lab Graphics package below.
    + Download
    +
  2. +
  3. Save the VirtualLabGraphics.zip file and double click it to extract.
  4. +
  5. + Run the Start.jar in the extracted folder (VirtualLabGraphics folder) to start the experiments. +
      +
    • + Windows/MacOSX users can start the experiment by double clicking the Start.jar file. +
    • +
    • + Linux users should run Start.jar by executing the following command in the terminal.
      + Change to the Virtual Lab Directory.
      + $ cd VirtualLabGraphics/
      + Execute the experiment using the command:
      + $ java -jar Start.jar +
    • +
    +
  6. +
  7. + Alternate Method: If you are not able to start the experiment by the above procedures, you can try the alternate method given below. +
      +
    • + Alternatively, Linux/MacOSX users can start the experiment by as described below.
      + Change to the Virtual Lab Directory.
      + $ cd VirtualLabGraphics/
      + Execute the experiment using the command:
      + $ ./Experiment.sh 2 +
    • +
    • + Alternatively, Windows users can start the experiment by double clicking the Experiment2.bat file. +
    • +
    +
  8. +
+ -

-
-
-
- - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +

+
+ + + + + + + + + + + + + diff --git a/src/lab/exp2/Feedback.html b/src/lab/exp2/Feedback.html index bb1bed9df..f2f3d70d2 100644 --- a/src/lab/exp2/Feedback.html +++ b/src/lab/exp2/Feedback.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Translation

+
+

Dear User,

+ +

Thanks for using Virtual Labs. Your opinion is valuable to us. To help us improve, we'd like to ask you a few questions about your experience. It will only take 3 minutes and your answers will help us make Virtual Labs better for you and other users. +

+
+ + + + +
+
+ +

Thanks for your time ! +
+ The Virtual Labs Team +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp2/Further Readings.html b/src/lab/exp2/Further Readings.html index acbcad769..8bc289289 100644 --- a/src/lab/exp2/Further Readings.html +++ b/src/lab/exp2/Further Readings.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ + + + + +
+ + + + diff --git a/src/lab/exp2/Introduction.html b/src/lab/exp2/Introduction.html index b28693546..c03b09a5f 100644 --- a/src/lab/exp2/Introduction.html +++ b/src/lab/exp2/Introduction.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Translation

+
+

+ This experiment introduces transformations and explains the concept of translation. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp2/Manual.html b/src/lab/exp2/Manual.html index a6fb0b6a3..c11d621f0 100644 --- a/src/lab/exp2/Manual.html +++ b/src/lab/exp2/Manual.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + + - - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + diff --git a/src/lab/exp2/Objective.html b/src/lab/exp2/Objective.html index bc2c3edd8..cb6e15654 100644 --- a/src/lab/exp2/Objective.html +++ b/src/lab/exp2/Objective.html @@ -1,54 +1,84 @@ - + + + + + - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - + + + + + - - - - - + Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - -
-
- - +
- - +
+
+
+
+
+ +
+ - - + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

- - - - - - - - +
+ +
+ +

Transformations: Translation

+
+

+ Objective of this experiment is to understand the effect of translation on Points in 2D/3D space. We also learn the matrix representation for the translation and how to use it to compute the translated + point. +

+
+
+
+
+ +
+ - \ No newline at end of file + +
+ + + + diff --git a/src/lab/exp2/Procedure.html b/src/lab/exp2/Procedure.html index 27afa6e73..b45ef69b2 100644 --- a/src/lab/exp2/Procedure.html +++ b/src/lab/exp2/Procedure.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Translation

+
+

+ This experiment introduces the concept of the translation transformation. +

+

+ The point has a translation applied to it. Move the slider at the bottom to watch the point move to its new location. +

+

+ The tree has a node for the transformation applied to the point. This node shows the translation distances along each axis. As the slider is moved, the transformation animates between the starting and + ending points. +

+

+ The translation matrix T, being applied to the point is also shown. Edit the translation distances and notice how this matrix gets changed. +

+

+ Transformations can also be interpreted as a modification of the co-ordinate system, while keeping the point in its original place. You can switch to this behavior at any time by checking the + Transform co-ordinate systems checkbox under the Display tab. Use it to compare how the transformation works in both cases. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp2/Quizzes.html b/src/lab/exp2/Quizzes.html index 0451b5c2c..ce3a19b66 100644 --- a/src/lab/exp2/Quizzes.html +++ b/src/lab/exp2/Quizzes.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Translation

+
+ +
+

+ Matrix( (1,0,0,5), (0,1,0,-3), (0,0,1,6), (0,0,0,1) ) + Q1. + When the following translation matrix is applied to point (10,10,10), it becomes
+ + (5,7,4)
+ + (15,7,16)
+ + (15,7,4)
+ + (15,13,16) +

+

+ Q2. + If the point (-10,14,20) is translated according to the vector (-10,2,8), it becomes
+ + (-20,16,28)
+ + (0,16,28)
+ + (0,16,12)
+ + (-20,16,12) +

+

+ Q3. + Identify the translation vector v which transforms point A (1,1,5) to point B (-11,13,-7).
+ + (12,-12,12)
+ + (-12,12,12)
+ + (-12,12,-12)
+ + (-12,-12,-12) +

+

+ Q4. + If the Origin is at (0,0,0) then a translation of (2,5,-4) translates the origin to:
+ + (2,5,-4)
+ + (2,5,4)
+ + (-2,5,4)
+ + (-2,-5,4) +

+

+ + +

+
+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp2/Theory.html b/src/lab/exp2/Theory.html index e80fdf0eb..1215beacb 100644 --- a/src/lab/exp2/Theory.html +++ b/src/lab/exp2/Theory.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Translation

+
+

+ A transformation maps points in space to other points. Translation moves every point by a constant distance in a constant direction. This can be interpreted as the addition of a constant vector to every + point. If homogeneous representation is used, translation can be conveniently represented as a matrix multiplication. The translation matrix which translates by vx, vy and v + z units looks like: +

+ Translation Matrix +

+ On multiplication with a vector, the expected result of vector addition is obtained: +

+ Matrix representation for Point translation +

+ Transformations can be interpreted as the modification of a co-ordinate system, keeping the points constant, effectively changing their relative positions. Thus, a translation of (2,3) translates the + co-ordinate system's origin to (-2,-3), effectively translating all points with respect to this co-ordinate system. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp3/Experiment.html b/src/lab/exp3/Experiment.html index c97724cf8..92e2716a0 100644 --- a/src/lab/exp3/Experiment.html +++ b/src/lab/exp3/Experiment.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Rotation

+
+

+
    +
  1. + Please download the appropriate Virtual Lab Graphics package below.
    + Download
    +
  2. +
  3. Save the VirtualLabGraphics.zip file and double click it to extract.
  4. +
  5. + Run the Start.jar in the extracted folder (VirtualLabGraphics folder) to start the experiments. +
      +
    • + Windows/MacOSX users can start the experiment by double clicking the Start.jar file. +
    • +
    • + Linux users should run Start.jar by executing the following command in the terminal.
      + Change to the Virtual Lab Directory.
      + $ cd VirtualLabGraphics/
      + Execute the experiment using the command:
      + $ java -jar Start.jar +
    • +
    +
  6. +
  7. + Alternate Method: If you are not able to start the experiment by the above procedures, you can try the alternate method given below. +
      +
    • + Alternatively, Linux/MacOSX users can start the experiment by as described below.
      + Change to the Virtual Lab Directory.
      + $ cd VirtualLabGraphics/
      + Execute the experiment using the command:
      + $ ./Experiment.sh 3 +
    • +
    • + Alternatively, Windows users can start the experiment by double clicking the Experiment3.bat file. +
    • +
    +
  8. +
+ -

-
-
-
- - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +

+ + + + + + + + + + + + + + diff --git a/src/lab/exp3/Feedback.html b/src/lab/exp3/Feedback.html index 5e3c673e6..d6fd8ca9c 100644 --- a/src/lab/exp3/Feedback.html +++ b/src/lab/exp3/Feedback.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Rotation

+
+

Dear User,

+ +

Thanks for using Virtual Labs. Your opinion is valuable to us. To help us improve, we'd like to ask you a few questions about your experience. It will only take 3 minutes and your answers will help us make Virtual Labs better for you and other users. +

+
+ + + + +
+
+ +

Thanks for your time ! +
+ The Virtual Labs Team +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp3/Further Readings.html b/src/lab/exp3/Further Readings.html index 046aa0c4b..7800a92a4 100644 --- a/src/lab/exp3/Further Readings.html +++ b/src/lab/exp3/Further Readings.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ + + + + +
+ + + + diff --git a/src/lab/exp3/Introduction.html b/src/lab/exp3/Introduction.html index 79738d4e0..5c2a97eac 100644 --- a/src/lab/exp3/Introduction.html +++ b/src/lab/exp3/Introduction.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Rotation

+
+

+ "In geometry and linear algebra, a rotation is a transformation in a plane or in space that describes the motion of a rigid body around a fixed point. A rotation is different from a translation, which has + no fixed points. A rotation and the above-mentioned transformations are isometries; they leave the distance between any two points unchanged after the transformation." Courtesy Wikipedia +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp3/Manual.html b/src/lab/exp3/Manual.html index 70a8a1982..5e2b1d85e 100644 --- a/src/lab/exp3/Manual.html +++ b/src/lab/exp3/Manual.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + + - - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + diff --git a/src/lab/exp3/Objective.html b/src/lab/exp3/Objective.html index 0b5362769..ab83ece51 100644 --- a/src/lab/exp3/Objective.html +++ b/src/lab/exp3/Objective.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Rotation

+
+

+ Objective of this experiment is to understand the effect of rotation about an axis on Points in 2D/3D space. We also learn the matrix representation for the translation and how to use it to compute the + translated point. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp3/Procedure.html b/src/lab/exp3/Procedure.html index cff2c3c12..6ee279758 100644 --- a/src/lab/exp3/Procedure.html +++ b/src/lab/exp3/Procedure.html @@ -1,54 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Rotation

+
+

+ This experiment introduces the concept of the rotation transformation. +

+

+ The point has a rotation applied to it. Move the slider at the bottom to watch the rotation of the point about origin. +

+

+ The tree has a node for the transformation applied to the point. This node shows the rotation axis and the angle by which the point is rotated. As the slider is moved, the transformation animates between + the starting and ending points. +

+

+ The rotation matrix R, being applied to the point is also shown. Edit the rotation parameters and notice how this matrix gets changed. +

+

+ Switch between the two interpretations of rotation at any time by checking the Transform co-ordinate systems checkbox under the Display tab. Use it to compare how the rotation works in both + cases. viz., rotation of point with respect to the coordinate axes and the rotation of the coordinate axes wrt the point. +

+

+ While rotating along some axes, you may require to switch to a 3 dimensional world. This can be done by checking the 3D checkbox under the Display tab. Drag with the right mouse button to + rotate the world. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp3/Quizzes.html b/src/lab/exp3/Quizzes.html index 7d9c78a9b..6fde91027 100644 --- a/src/lab/exp3/Quizzes.html +++ b/src/lab/exp3/Quizzes.html @@ -1,55 +1,84 @@ - + + + + + - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - + + + + + - - - - - + Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - -
-
- - +
- - +
+
+
+
+
+ +
+ - - + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

- - - - - - - - +
+ - \ No newline at end of file +
+ +

Transformations: Rotation

+
+ +

+ Q1. + Time taken for one complete oscillation is called Time Period of the oscillator.
+ + True
+ + False
+
+ +

+
+
+
+
+ +
+ +
+ + + + diff --git a/src/lab/exp3/Theory.html b/src/lab/exp3/Theory.html index 53a6407d0..93650985c 100644 --- a/src/lab/exp3/Theory.html +++ b/src/lab/exp3/Theory.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Rotation

+
+

+ Rotation transformation rotates points about an axis through the origin. Rotation about the co-ordinate axes X, Y and Z is a standard operation, which is used often in graphics applications. +

+

+ Rotation is performed by multiplying the point with a Rotation Matrix. There are specific matrices for rotations about X, Y and Z axes. +

+ Rotation Matrix +

+ Rotations can also be performed about an arbitrary axis. This can be done in the following manner: +

+
    +
  1. + Rotate the arbitrary axis about one of the co-ordinate axes, say Y, to align it to one of the co-ordinate planes, say XY. +
  2. +
  3. + Rotate this axis about the Z axis to align it to the Y axis. +
  4. +
  5. + Perform the required rotation about the Y axis using RY. +
  6. +
  7. + Reverse the steps 2 and 1 to put the axis back in its original alignment. +
  8. +
+

+

+ Rotation matrices rotate all points about an axis passing through the origin. In order to rotate about a particular point, the point must be translated to origin first. Once the rotation is performed, the + point must be translated back to its original location.
+ Thus the matrix for rotating about a particular point + + is:
+ M = T-1RT
+ where T translates the point to origin and R is the rotation matrix. +
+

+

+ It is important to know the frame of reference when considering rotations, as all rotations are described relative to a particular frame of reference. In general for any orthogonal transformation on a + body in a coordinate system there is an inverse transformation which if applied to the frame of reference results in the body being at the same coordinates. For example in two dimensions rotating a body + clockwise about a point keeping the axes fixed is equivalent to rotating the axes counterclockwise about the same point while the body is kept fixed. Thus, a rotation of 45° about Z-axis is equivalent to + rotating the coordinate system by -45° about the Z-axis. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp4/Experiment.html b/src/lab/exp4/Experiment.html index 0b4d15efd..aea66d2c6 100644 --- a/src/lab/exp4/Experiment.html +++ b/src/lab/exp4/Experiment.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Scaling

+
+

+
    +
  1. + Please download the appropriate Virtual Lab Graphics package below.
    + Download
    +
  2. +
  3. Save the VirtualLabGraphics.zip file and double click it to extract.
  4. +
  5. + Run the Start.jar in the extracted folder (VirtualLabGraphics folder) to start the experiments. +
      +
    • + Windows/MacOSX users can start the experiment by double clicking the Start.jar file. +
    • +
    • + Linux users should run Start.jar by executing the following command in the terminal.
      + Change to the Virtual Lab Directory.
      + $ cd VirtualLabGraphics/
      + Execute the experiment using the command:
      + $ java -jar Start.jar +
    • +
    +
  6. +
  7. + Alternate Method: If you are not able to start the experiment by the above procedures, you can try the alternate method given below. +
      +
    • + Alternatively, Linux/MacOSX users can start the experiment by as described below.
      + Change to the Virtual Lab Directory.
      + $ cd VirtualLabGraphics/
      + Execute the experiment using the command:
      + $ ./Experiment.sh 4 +
    • +
    • + Alternatively, Windows users can start the experiment by double clicking the Experiment4.bat file. +
    • +
    +
  8. +
+ -

-
-
-
- - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +

+ + + + + + + + + + + + + + diff --git a/src/lab/exp4/Feedback.html b/src/lab/exp4/Feedback.html index a967a3c5c..94ee81953 100644 --- a/src/lab/exp4/Feedback.html +++ b/src/lab/exp4/Feedback.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - + @@ -59,15 +60,18 @@ --> @@ -89,15 +93,34 @@
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

+

Computer Science & Engineering Computer Graphics  Experiments

- +
-

Transformations: Scaling

Feedback
+

Transformations: Scaling

+
+

Dear User,

+ +

Thanks for using Virtual Labs. Your opinion is valuable to us. To help us improve, we'd like to ask you a few questions about your experience. It will only take 3 minutes and your answers will help us make Virtual Labs better for you and other users. +

+
+ + + + +
+
+ +

Thanks for your time ! +
+ The Virtual Labs Team +

+
+
@@ -154,57 +177,6 @@

Follow Us

- - - - - - - - - - - - - - diff --git a/src/lab/exp4/Further Readings.html b/src/lab/exp4/Further Readings.html index 62886f9bf..f3a9d403c 100644 --- a/src/lab/exp4/Further Readings.html +++ b/src/lab/exp4/Further Readings.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + + + +
+ + + +
+ + + + diff --git a/src/lab/exp4/Introduction.html b/src/lab/exp4/Introduction.html index 56b2eae07..79ba7cb7f 100644 --- a/src/lab/exp4/Introduction.html +++ b/src/lab/exp4/Introduction.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Scaling

+
+

+ This experiment explains the concept of scaling transformation. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp4/Manual.html b/src/lab/exp4/Manual.html index 6cf45813a..50bd7e6af 100644 --- a/src/lab/exp4/Manual.html +++ b/src/lab/exp4/Manual.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + + - - - - - -
- - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + diff --git a/src/lab/exp4/Objective.html b/src/lab/exp4/Objective.html index 59ccc5d73..3b21147e7 100644 --- a/src/lab/exp4/Objective.html +++ b/src/lab/exp4/Objective.html @@ -1,54 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Scaling

+
+

+ Objective of this experiment is to understand the effect of scaling on Points along any axis in 2D/3D space. We also learn the matrix representation for the scaling transformation and how to use it to + compute the scaled point. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp4/Procedure.html b/src/lab/exp4/Procedure.html index a261e5388..261cca6d5 100644 --- a/src/lab/exp4/Procedure.html +++ b/src/lab/exp4/Procedure.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Scaling

+
+

+ This experiment introduces the concept of the scaling transformation. +

+

+ The point has a scaling applied to it. Move the slider at the bottom to watch the point move to its new location. +

+

+ The tree has a node for the transformation applied to the point. This node shows the scaling value along each axis. As the slider is moved, the transformation animates between the starting and ending + points. +

+

+ The scaling matrix T, being applied to the point is also shown. Edit the scale values along any axis and notice how this matrix gets changed. +

+

+ Transformations can also be interpreted as a modification of the co-ordinate system, while keeping the point in its original place. You can switch to this behavior at any time by checking the + Transform co-ordinate systems checkbox under the Display tab. Use it to compare how the transformation works in both cases. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp4/Quizzes.html b/src/lab/exp4/Quizzes.html index cfa2a1b03..7524f688a 100644 --- a/src/lab/exp4/Quizzes.html +++ b/src/lab/exp4/Quizzes.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Scaling

+
+ +
+

+ Matrix( (2,0,0,0), (0,1.5,0,0), (0,0,0.5,0), (0,0,0,1) ) + Q1. + The point (5,2,8) after applying the following scaling matrix becomes:
+ + (10,3,40)
+ + (10,2,4)
+ + (2.5,3,4)
+ + (10,3,4) +

+

+ Q2. + Applying a scaling transformation of 2 on X-axis makes the unit distance:
+ + 1/4 of the original unit distance.
+ + 1/2 of the original unit distance.
+ + Same as the original unit distance.
+ + Twice the original unit distance. +

+

+ Q3. + What is the scaling vector v if A(5,4,1) gets scaled to (2.5,6,5) ?
+ + [0.5, 1.5, 5]
+ + [2, 3, 5]
+ + [2.5, 3, 5]
+ + [2.5, 1.5, 5] +

+

+ Q4. + What is the scaling vector v if A(2,3,4) gets transformed to B(2,3,4) ?
+ + [1, 0, 0]
+ + [0, 0, 0]
+ + [1, 1, 1]
+ + [1, 1, 0]
+

+

+ + +

+
+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp4/Theory.html b/src/lab/exp4/Theory.html index c280b7153..b21a8252d 100644 --- a/src/lab/exp4/Theory.html +++ b/src/lab/exp4/Theory.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Scaling

+
+

Scaling multiplies the distances from the co-ordinate axes by a constant factor. The scaling matrix which scales by vx, vy and vz units looks like:

+ Scaling Matrix +

+ On multiplication with a vector, the expected result is obtained: +

+ Matrix representation for Scaling a Point +

+ A scaling transformation can also be interpreted as resizing the co-ordinate axes while keeping the points constant. Thus, a scaling by (2,3) will require redrawing each unit on the X-axis as 2 units and + each unit on the Y-axis as 3. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp5a/Experiment.html b/src/lab/exp5a/Experiment.html index a2abbe912..6978fe3b7 100644 --- a/src/lab/exp5a/Experiment.html +++ b/src/lab/exp5a/Experiment.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Hierarchical Transformations: 2D Demo

+
+

+
    +
  1. + Please download the appropriate Virtual Lab Graphics package below.
    + Download
    +
  2. +
  3. Save the VirtualLabGraphics.zip file and double click it to extract.
  4. +
  5. + Run the Start.jar in the extracted folder (VirtualLabGraphics folder) to start the experiments. +
      +
    • + Windows/MacOSX users can start the experiment by double clicking the Start.jar file. +
    • +
    • + Linux users should run Start.jar by executing the following command in the terminal.
      + Change to the Virtual Lab Directory.
      + $ cd VirtualLabGraphics/
      + Execute the experiment using the command:
      + $ java -jar Start.jar +
    • +
    +
  6. +
  7. + Alternate Method: If you are not able to start the experiment by the above procedures, you can try the alternate method given below. +
      +
    • + Alternatively, Linux/MacOSX users can start the experiment by as described below.
      + Change to the Virtual Lab Directory.
      + $ cd VirtualLabGraphics/
      + Execute the experiment using the command:
      + $ ./Experiment.sh 5a +
    • +
    • + Alternatively, Windows users can start the experiment by double clicking the Experiment5a.bat file. +
    • +
    +
  8. +
+ -

-
-
-
- - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +

+ + + + + + + + + + + + + diff --git a/src/lab/exp5a/Feedback.html b/src/lab/exp5a/Feedback.html index 8c4c7ffc1..b8b2dd013 100644 --- a/src/lab/exp5a/Feedback.html +++ b/src/lab/exp5a/Feedback.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Hierarchical Transformations: 2D Demo

+
+

Dear User,

+ +

Thanks for using Virtual Labs. Your opinion is valuable to us. To help us improve, we'd like to ask you a few questions about your experience. It will only take 3 minutes and your answers will help us make Virtual Labs better for you and other users. +

+
+ + + + +
+
+ +

Thanks for your time ! +
+ The Virtual Labs Team +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp5a/Further Readings.html b/src/lab/exp5a/Further Readings.html index 95a9fc60f..ba267e709 100644 --- a/src/lab/exp5a/Further Readings.html +++ b/src/lab/exp5a/Further Readings.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + + + +
+ + + +
+ + + + diff --git a/src/lab/exp5a/Introduction.html b/src/lab/exp5a/Introduction.html index 77baea9a4..9beead785 100644 --- a/src/lab/exp5a/Introduction.html +++ b/src/lab/exp5a/Introduction.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Hierarchical Transformations: 2D Demo

+
+

+ This experiment demonstrates the result of different sequences of transformation on a simple triangle. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp5a/Manual.html b/src/lab/exp5a/Manual.html index bb973a3ec..9f1813c07 100644 --- a/src/lab/exp5a/Manual.html +++ b/src/lab/exp5a/Manual.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + + - - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + diff --git a/src/lab/exp5a/Objective.html b/src/lab/exp5a/Objective.html index 2092cc065..e38659283 100644 --- a/src/lab/exp5a/Objective.html +++ b/src/lab/exp5a/Objective.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Hierarchical Transformations: 2D Demo

+
+

+ Objective of this experiment is to understand the effective tranformation due to a series of transformations. We also learn the matrix representation for the computing the effective transformation. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp5a/Procedure.html b/src/lab/exp5a/Procedure.html index 58bc7bb41..844f0d437 100644 --- a/src/lab/exp5a/Procedure.html +++ b/src/lab/exp5a/Procedure.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Hierarchical Transformations: 2D Demo

+
+

+ This experiment introduces the concept of the hierarchical transformations. Here we show the effect of a series of transformations applied on a triangle. +

+

+ We start with a scaling transformation applied to the triangle followed by a translation, rotation and another translation. All these transformations are animated. Drag the slider to animate the + transformations on the triangle in order. +

+

+ The tree has a node 'Transformation 1' for the transformations applied to the point. Select it and click edit to open the transformation edit panel which shows the list of transformations applied + in order. Select any transformation and move it up or down with the respective buttons in the bottom and notice how the order of transformations effect the final result. +

+

+ Try adding a new transformation to the list and notice the changes on the triangle. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp5a/Quizzes.html b/src/lab/exp5a/Quizzes.html index cb8b300e0..f4caa61cc 100644 --- a/src/lab/exp5a/Quizzes.html +++ b/src/lab/exp5a/Quizzes.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Transformations: Translation

+
+ + +

+ Rotation Transformation + Q1. + Which of the following describes the transformation shown on the right ?
+ + 90° clockwise Rotation
+ + 180° clockwise Rotation
+ + 90° counter-clockwise Rotation
+ + 270° counter-clockwise Rotation +

+

+ Q2. + If the following operations are applied in order, then what is the composite matrix ? Translation T1 followed by Translation T2, followed Rotation R1, Scale S1, Scale S2 and Rotation R2
+ + T1T2R1S1S2R2
+ + T1R1S1R2
+ + R2S2S1R1T2T1
+ + R2S2R1T2T1 +

+

+ Q3. + Is S1T1S2T2 = T2S2T1S1 ?
+ + True
+ + False
+ + Valid
+ + Not Valid +

+

+

-

- - - -

- -
-
-
- - - - - -
- - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + --> +

+

+ + +

+ + + + + + + + + + + + + + + diff --git a/src/lab/exp5a/Theory.html b/src/lab/exp5a/Theory.html index 9052032cf..5a01af491 100644 --- a/src/lab/exp5a/Theory.html +++ b/src/lab/exp5a/Theory.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Hierarchical Transformations: 2D Demo

+
+

+ We have learnt about Translation matrix T, Rotation matrices R and Scaling matrices S in our previous experiments. A sequence of these transforms can be + represented using a composite matrix, say +

+

+ M = RxTRyST +

+

+ Operations are not commutative but are associative. +

+

Translations are commutative: T1T2 = T2T1

+

Scaling is commutative: S1S2 = S2S1

+

Rotations are NOT commutative: R1R2 ≠ R2R1

+

+ Also RT ≠ TR. Consider the following matrix representation. +

+ RT vs TR Matrix +
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp5b/Experiment.html b/src/lab/exp5b/Experiment.html index 0d5f2e0b2..45a05fbfe 100644 --- a/src/lab/exp5b/Experiment.html +++ b/src/lab/exp5b/Experiment.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - + @@ -60,14 +61,17 @@ @@ -89,15 +93,15 @@
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

+

Computer Science & Engineering Computer Graphics  Experiments

- +
-

Hierarchical Transformations: 3D Articulated Arm

+

Hierarchical Transformations: 3D Articulated Arm

  1. @@ -200,57 +204,5 @@

    Follow Us

    - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/lab/exp5b/Feedback.html b/src/lab/exp5b/Feedback.html index ce50b0ff2..027eec312 100644 --- a/src/lab/exp5b/Feedback.html +++ b/src/lab/exp5b/Feedback.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
    -
    - - +
    + +
    +
    +
    +
    +
    + +
    + + + +
    +

    + Computer Science & Engineering Computer Graphics + Experiments
    +

    + +
    + + +
    + +

    Hierarchical Transformations: 3D Articulated Arm

    +
    +

    Dear User,

    + +

    Thanks for using Virtual Labs. Your opinion is valuable to us. To help us improve, we'd like to ask you a few questions about your experience. It will only take 3 minutes and your answers will help us make Virtual Labs better for you and other users. +

    +
    + + + + +
    +
    + +

    Thanks for your time ! +
    + The Virtual Labs Team +

    +
    +
    +
    +
    + +
    + + + +
    + + + + diff --git a/src/lab/exp5b/Further Readings.html b/src/lab/exp5b/Further Readings.html index 3f25b5d96..76f516c72 100644 --- a/src/lab/exp5b/Further Readings.html +++ b/src/lab/exp5b/Further Readings.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
    -
    - - +
    + + + + + +
    + + + + diff --git a/src/lab/exp5b/Introduction.html b/src/lab/exp5b/Introduction.html index 753a2a0be..bb7d931a7 100644 --- a/src/lab/exp5b/Introduction.html +++ b/src/lab/exp5b/Introduction.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
    -
    - - +
    + +
    +
    +
    +
    +
    + +
    + + + +
    +

    + Computer Science & Engineering Computer Graphics + Experiments
    +

    + +
    + + +
    + +

    Hierarchical Transformations: 3D Articulated Arm

    +
    +

    This experiment demonstrates the end effect of hierarchical transformations learnt in the previous experiment using a 3D Articulated Arm setup +

    + +
    +
    +
    +
    + +
    + + + +
    + + + + diff --git a/src/lab/exp5b/Manual.html b/src/lab/exp5b/Manual.html index 0b8827276..639fc4e91 100644 --- a/src/lab/exp5b/Manual.html +++ b/src/lab/exp5b/Manual.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
    -
    - - +
    + +
    +
    +
    +
    +
    + +
    + + + + - - - - - -
    - - - - - -
    - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +
+
+
+
+
+ + + + + + + + + + diff --git a/src/lab/exp5b/Objective.html b/src/lab/exp5b/Objective.html index 17baa3df4..4e9d057d9 100644 --- a/src/lab/exp5b/Objective.html +++ b/src/lab/exp5b/Objective.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Hierarchical Transformations: 3D Articulated Arm

+
+

+ Objective of this experiment is to understand the effective tranformation due to a series of transformations and how to construct a hierarchical model. +

+
+
+
+
+ +
+ + +
+ + + + diff --git a/src/lab/exp5b/Procedure.html b/src/lab/exp5b/Procedure.html index 5735c2df4..2a0c2f270 100644 --- a/src/lab/exp5b/Procedure.html +++ b/src/lab/exp5b/Procedure.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Hierarchical Transformations: 3D Articulated Arm

+
+

+ This experiment introduces the concept of the hierarchical transformations and a hierarchical model. +

+

+ The hierarchical articulated arm is provided. Notice the different nodes used to construct the model. The nodes in this model follows the hierarchy: Shoulder (highest), Elbow, Forearm, Wrist and Palm. + Applying transformations to a node in the hierarchy applies the same transformations to all the lower nodes in the hierarchy in addition to their own transformations. For example, a rotation has been + applied to the shoulder. As you drag the slider you can notice this rotation being applied to the other nodes toother nodes. +

+

+ Try modifying the transformations in the hierarchy and notice the effective changes on the entire model. +

+

+ Open the transormation nodes of Forearm and Palm and notice how a Cube has been moulded to a forearm and a palm using the respective transformations. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp5b/Quizzes.html b/src/lab/exp5b/Quizzes.html index d5c348863..c4f02a847 100644 --- a/src/lab/exp5b/Quizzes.html +++ b/src/lab/exp5b/Quizzes.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Hierarchical Transformations: 3D Articulated Arm

+
+

Quiz will be updated soon!

+

+ Q1. + Time taken for one complete oscillation is called Time Period of the oscillator.
+ + True
+ + False
+
+ +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp5b/Theory.html b/src/lab/exp5b/Theory.html index 8466bd840..05872938f 100644 --- a/src/lab/exp5b/Theory.html +++ b/src/lab/exp5b/Theory.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Hierarchical Transformations: 3D Articulated Arm

+
+

Here in this experiment we put the concepts of multiple transformations learnt in experiment 5a to practice with an Articulated arm experiment.

+

+ A hierarchy is an organization of things into levels. In a very general sense, he things higher up in a hierachy have control over the lower things. Here this applies to the matrix transformations. +

+

+ We constructed a hierarchical articulated arm model where each node/part follows a series of transformations from the root node to its current position. The top-most object in this hierarchy is the + Shoulder followed by Elbow, Forearm, Wrist and Palm. Moving the shoulder moves the rest of the parts as all others derive their transformation from the shoulder. When you move the wrist only the palm + moves while the shoulder, elbow and forearm remain unchanged. This is because the wrist is lower in hierarchy than your elbow and therefore has no control on it. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp6/Experiment.html b/src/lab/exp6/Experiment.html index 15feeaf37..c5c581932 100644 --- a/src/lab/exp6/Experiment.html +++ b/src/lab/exp6/Experiment.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Projections and Cameras

+
+

+
    +
  1. + Please download the appropriate Virtual Lab Graphics package below.
    + Download
    +
  2. +
  3. Save the VirtualLabGraphics.zip file and double click it to extract.
  4. +
  5. + Run the Start.jar in the extracted folder (VirtualLabGraphics folder) to start the experiments. +
      +
    • + Windows/MacOSX users can start the experiment by double clicking the Start.jar file. +
    • +
    • + Linux users should run Start.jar by executing the following command in the terminal.
      + Change to the Virtual Lab Directory.
      + $ cd VirtualLabGraphics/
      + Execute the experiment using the command:
      + $ java -jar Start.jar +
    • +
    +
  6. +
  7. + Alternate Method: If you are not able to start the experiment by the above procedures, you can try the alternate method given below. +
      +
    • + Alternatively, Linux/MacOSX users can start the experiment by as described below.
      + Change to the Virtual Lab Directory.
      + $ cd VirtualLabGraphics/
      + Execute the experiment using the command:
      + $ ./Experiment.sh 6 +
    • +
    • + Alternatively, Windows users can start the experiment by double clicking the Experiment6.bat file. +
    • +
    +
  8. +
+ -

-
-
-
- - - - - -
- - - - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +

+ + + + + + + + + + + + + + diff --git a/src/lab/exp6/Feedback.html b/src/lab/exp6/Feedback.html index ec66dc2a6..83a4b3436 100644 --- a/src/lab/exp6/Feedback.html +++ b/src/lab/exp6/Feedback.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Projections and Cameras

+
+

Dear User,

+ +

Thanks for using Virtual Labs. Your opinion is valuable to us. To help us improve, we'd like to ask you a few questions about your experience. It will only take 3 minutes and your answers will help us make Virtual Labs better for you and other users. +

+
+ + + + +
+
+ +

Thanks for your time ! +
+ The Virtual Labs Team +

+
+
+
+
+ +
+ + + +
+ + + + +color: #FF6600 \ No newline at end of file diff --git a/src/lab/exp6/Further Readings.html b/src/lab/exp6/Further Readings.html index bf4f83c14..6d4e005e8 100644 --- a/src/lab/exp6/Further Readings.html +++ b/src/lab/exp6/Further Readings.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + + - - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + diff --git a/src/lab/exp6/Introduction.html b/src/lab/exp6/Introduction.html index 6702edc60..cdd54c396 100644 --- a/src/lab/exp6/Introduction.html +++ b/src/lab/exp6/Introduction.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Projections and Cameras

+
+

+ This experiment explains perspective and orthogonal projections using Cameras. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp6/Manual.html b/src/lab/exp6/Manual.html index d4eab2d15..e9fbddbbe 100644 --- a/src/lab/exp6/Manual.html +++ b/src/lab/exp6/Manual.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + + - - - - - -
- - - - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + + + + + + + + + + +color: #FF6600 \ No newline at end of file diff --git a/src/lab/exp6/Objective.html b/src/lab/exp6/Objective.html index 11b52dce6..495867efc 100644 --- a/src/lab/exp6/Objective.html +++ b/src/lab/exp6/Objective.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Projections and Cameras

+
+

+ Objective of this experiment is to understand different projections and their matrix representations to project a 3D point. We also learn how to define an OpenGL camera and its various parameters + effectively visualising the result. +

+
+
+
+
+ +
+ + + +
+ + + + diff --git a/src/lab/exp6/Procedure.html b/src/lab/exp6/Procedure.html index 6c14d79ee..8ba6c5553 100644 --- a/src/lab/exp6/Procedure.html +++ b/src/lab/exp6/Procedure.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - + @@ -60,14 +61,17 @@ @@ -89,15 +93,29 @@
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

+

+ Computer Science & Engineering + Computer Graphics  + Experiments
+

- +
-

Projections and Cameras

+

Projections and Cameras

This experiment is designed to teach the orthographic and perspective projections using cameras and a bunny. Here we demonstrate different projections and setting up OpenGL cameras.

@@ -170,57 +188,5 @@

Follow Us

- - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/lab/exp6/Quizzes.html b/src/lab/exp6/Quizzes.html index 865c5ce24..6f0fdc922 100644 --- a/src/lab/exp6/Quizzes.html +++ b/src/lab/exp6/Quizzes.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering →Computer Graphics → + Experiments
+

+ +
+ + +
+ +

Projections and Cameras

+
+ Quiz will be updated soon! +

+ -

-
-
-
- - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +

+
+
+
+
+ +
+ + + + + + + + diff --git a/src/lab/exp6/Theory.html b/src/lab/exp6/Theory.html index 5f18bc68a..4c5c87e16 100644 --- a/src/lab/exp6/Theory.html +++ b/src/lab/exp6/Theory.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ +
+
+
+
+
+ +
+ + + +
+

+ Computer Science & Engineering Computer Graphics + Experiments
+

+ +
+ + +
+ +

Projections and Cameras

+
+

+ 3D projection is any method of mapping three-dimensional points to a two-dimensional plane. There are 2 types of projections, Orthographic and Perspective. +

+

+ Orthographic projection is a form of parallel proection, where all the projection lines are orthogonal to the projection plane, resulting in every plane of the scene appearing in affine + transformation on the viewing surface. An Orthographic camera captures the othographic projection of the points in the scene. +

+

+ An othographic camera, with left and right being vertical clipping planes, top and bottom being horizontal clipping planes, near and far being depth clipping planes, multiplies the current matrix M with + the following matrix and replace the current matrix with the result. +

+ Orthographics Projection Matrix +

+ When a human eye looks at a scene, object in the distance appear smaller than objects close by - this is known as Perspective projection. Unlike orthographic projection, perspective projection + shows distant objects as smaller to provide additional realism. +

+

+ The perspective projection requires greater definition. The camera's position, orientation and field of view. Assuming the eye is located at (0,0,0) and + (left, bottom, -near) & (right, top, -near) specify the lower-left & upper-right points on the near clipping plane and + -f specifying the location of far clipping plane, the perspective projection matrix is +

+ Perspective Projection Matrix +
+
+
+
+ +
+ + + +
+ + + + +color: #FF6600 \ No newline at end of file diff --git a/src/lab/exp7/Experiment.html b/src/lab/exp7/Experiment.html index 2988ae132..ad8c32493 100644 --- a/src/lab/exp7/Experiment.html +++ b/src/lab/exp7/Experiment.html @@ -1,214 +1,183 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- -
-
-
-
-
-
- - - - - - - -
- - - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file diff --git a/src/lab/exp7/Feedback.html b/src/lab/exp7/Feedback.html index a3192de6c..8b6313301 100644 --- a/src/lab/exp7/Feedback.html +++ b/src/lab/exp7/Feedback.html @@ -1,211 +1,195 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- -
-
-
-
-
-
- - - - - - - -
- - - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file diff --git a/src/lab/exp7/Further Readings.html b/src/lab/exp7/Further Readings.html index 020cb4d47..7f9ceefda 100644 --- a/src/lab/exp7/Further Readings.html +++ b/src/lab/exp7/Further Readings.html @@ -1,217 +1,186 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- -
-
-
-
-
-
- - - -
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

- -
- - -
- - -

Clipping : Line

-
    -
  1. Cohen-Sutherland algorithm
  2. -
  3. James D. Foley. Computer graphics: Principles and Practice. Addison-Wesley Professional.
  4. -
  5. Computer Graphics, C Version by Donald Hearn and M. Pauline Baker
  6. -
-
-
-
- - - -
- - - - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file diff --git a/src/lab/exp7/Introduction.html b/src/lab/exp7/Introduction.html index 8cf863100..e341fc566 100644 --- a/src/lab/exp7/Introduction.html +++ b/src/lab/exp7/Introduction.html @@ -1,226 +1,195 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- -
-
-
-
-
-
- - - -
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

- -
- - -
- - -

Clipping : Line

-

- When a 2D image is displayed onto a display screen, often the display area occupies a fraction of the amount of space that covers the entire image area. - Thus the unnecessary parts of the image that are located outside the display area can be removed to reduce the exorbitant amount of computations involved to render them. - This technique to remove such inessential parts of a scene lying outside the display area is called clipping. - The display area is also called the clipped window.

- The technique used to cut/clip the parts of the line belonging in the region, outside of the clipped window, is called line clipping.

- Some common algorithms to perform line clipping are as follows: -

    -
  1. Cohen-Sutherland algorithm
  2. -
  3. Liang-Barsky algorithm
  4. -
  5. Nicholl-Lee-Nicholl algorithm
  6. -

- Here we have discussed only the Cohen-Sutherland Line Clipping algorithm. -

-
-
-
- - - -
- - - - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file diff --git a/src/lab/exp7/Manual.html b/src/lab/exp7/Manual.html index 86f8bb6d1..45a0971a3 100644 --- a/src/lab/exp7/Manual.html +++ b/src/lab/exp7/Manual.html @@ -1,218 +1,186 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- -
-
-
-
-
-
- - - -
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

- -
- - -
- - -

Clipping : Line

-
    -
  1. The experiment contains a clipping window which represents the screen to which the graphics primitives (line in this case) are rendered to.
  2. -
  3. The experiment allows the user to change the size of the clipping window.
  4. -
  5. The experiment allows the user to choose the starting and ending coordinates of his own choice.
  6. -
  7. The user can move forward and backward through the steps of the experiment.
  8. -
  9. At each step of the algorithm, the important computations that took place in that step are also given for better understanding of the algorithm.
  10. -
-
-
-
- - - -
- - - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file diff --git a/src/lab/exp7/Objective.html b/src/lab/exp7/Objective.html index 4edab5f6d..dde8efd7b 100644 --- a/src/lab/exp7/Objective.html +++ b/src/lab/exp7/Objective.html @@ -1,216 +1,183 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- -
-
-
-
-
-
- - - -
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

- -
- - -
- - -

Clipping : Line

-

- Objective of this experiment is to understand the steps of a Line Clipping Algorithm, i.e., how a geometric line is clipped so as to render only the part which a user can view. - As an example, we have demonstrated the steps of Cohen Sutherland Algorithm. -

-
-
-
- - - -
- - - - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file diff --git a/src/lab/exp7/Procedure.html b/src/lab/exp7/Procedure.html index 8c85a792f..adf37e19f 100644 --- a/src/lab/exp7/Procedure.html +++ b/src/lab/exp7/Procedure.html @@ -1,218 +1,190 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
-
-
-
-
-
-
- - - -
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

- -
- - -
- - -

Clipping : Line

-
    -
  1. Fix the size of the clipping window (the default parameters are already filled in the input boxes) and then click on Enter.
    - You can also proceed directly to the experiment using the default parameters of the clipping window and the starting and ending coordinates, by clicking on Start Experiment with Default values.
  2. -
  3. Fix the starting and ending coordinates. The default values are already filled in the input boxes. Once you have finalized the coordinates, you can click on Start Experiment to begin with the experiment.
    - You can also go Back to change the values of the frame buffer.
  4. -
  5. Throughout the experiment, you can click on Next Iteration to go to the next step of the algorithm and Previous Iteration to go to the previous step.
  6. -
  7. Once the experiment ends, you can again experiment with a new line.
  8. -
-
-
-
- - - - -
- - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file +color: #FF6600 \ No newline at end of file diff --git a/src/lab/exp7/Quizzes.html b/src/lab/exp7/Quizzes.html index edc79203a..6a302eba8 100644 --- a/src/lab/exp7/Quizzes.html +++ b/src/lab/exp7/Quizzes.html @@ -1,244 +1,225 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- -
-
-
-
-
-
- - - -
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

- -
- - -
- - -

Clipping : Line

- - -

-

    -
  1. Which of the following conditions should hold for a line to completely be inside the clip window (code for end point 1 is c1 and for end point 2 is c2) :
    -
      -
    1. c1 OR c2 = 0
    2. -
    3. c1 AND c2 = 0
    4. -
    5. c1 EXOR c2 = 1
    6. -
    7. c1 OR c2 = 1
    8. -
  2. -
  3. Which of the following conditions should hold for a line to be trivially rejected (code for end point 1 is c1 and for end point 2 is c2) :
    -
      -
    1. c1 AND c2 = 0
    2. -
    3. c1 AND c2 != 0
    4. -
    5. c1 OR c2 != 1
    6. -
    7. c1 AND c2 = 1
    8. -
  4. -
  5. Do you think the same algorithm will work if the clip window is concave? -
      -
    1. Yes
    2. -
    3. No
    4. -
  6. -
-

- - -
- - -
-
-
- - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file +color: #FF6600 diff --git a/src/lab/exp7/Theory.html b/src/lab/exp7/Theory.html index 01337b1c4..e2abff896 100644 --- a/src/lab/exp7/Theory.html +++ b/src/lab/exp7/Theory.html @@ -1,112 +1,135 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - -
-
- - -
-
-
-
-
-
-
- - - -
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

- -
- - -
- - -

Clipping : Line

-

-

Cohen Sutherland's Line Clipping Algorithm

-

Pseudo Code of the algorithm

- Input : Two Endpoints of the line, (x0, y0) & (x1, y1).
Two opposite corner points of the frame buffer.
-
-Steps of the Algorithm -
    + + + + + + + + + + Welcome to Virtual Labs - A MHRD Govt of india Initiative + + + + + + + + + + + + + + + + +
    +
    + + +
    +
    +
    +
    +
    +
    + +
    + + +
    +

    Computer Science & Engineering Computer Graphics Experiments

    +
    + +
    + +

    Clipping : Line

    +
    +

    +

    Cohen Sutherland's Line Clipping Algorithm

    +

    Pseudo Code of the algorithm

    + Input : Two Endpoints of the line, (x0, y0) & (x1, y1).
    Two opposite corner points of the frame buffer.
    +
    + Steps of the Algorithm +
    1. P0 = (x0, y0) & P1(x1, y1).
    2. Compute the 4-bit codes for each endpoint. The codes of the vertices are computed from the below figure : @@ -120,118 +143,62 @@

      Pseudo Code of the algorithm

    3. Examine one of the endpoints, say P0 and read P0's 4-bit code in order: Left-to-Right, Bottom-to-Top.
    4. When a set bit (1) is found, compute the intersection I of the corresponding window edge with the line from P0 to P1. Replace P0 with I and repeat the algorithm.
    -
    -
    -

    -
    -
    -
    - - - - - -
    - -
+
+

+
+
+
+
+ +
+ +
- - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - \ No newline at end of file +color: #FF6600 \ No newline at end of file diff --git a/src/lab/exp8/Experiment.html b/src/lab/exp8/Experiment.html index 333b53d7a..58a5800a5 100644 --- a/src/lab/exp8/Experiment.html +++ b/src/lab/exp8/Experiment.html @@ -1,55 +1,90 @@ - - - - - - - - + + + + + + + + + + + + + Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - + + + + + + + + + + - - - + + + + - -
-
- - +
+ +
+
+
+
+
+ +
+ + + + + + +
+ + + +
- - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + + + + + + \ No newline at end of file diff --git a/src/lab/exp8/Feedback.html b/src/lab/exp8/Feedback.html index 8fc917eb1..d47bb37f2 100644 --- a/src/lab/exp8/Feedback.html +++ b/src/lab/exp8/Feedback.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - + @@ -59,15 +60,18 @@ --> @@ -89,15 +93,32 @@
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

+

Computer Science & Engineering Computer Graphics  Experiments

- +
-

Clipping : Polygon

Feedback
+

Clipping : Polygon

+

Dear User,

+ +

Thanks for using Virtual Labs. Your opinion is valuable to us. To help us improve, we'd like to ask you a few questions about your experience. It will only take 3 minutes and your answers will help us make Virtual Labs better for you and other users. +

+
+ + + + +
+
+ +

Thanks for your time ! +
+ The Virtual Labs Team +

+
@@ -154,57 +175,6 @@

Follow Us

- - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/lab/exp8/Further Readings.html b/src/lab/exp8/Further Readings.html index a6b63e517..00c30a1a2 100644 --- a/src/lab/exp8/Further Readings.html +++ b/src/lab/exp8/Further Readings.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - + @@ -59,15 +60,18 @@ --> @@ -89,19 +93,22 @@
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

+

Computer Science & Engineering Computer Graphics  Experiments

- +
-

Clipping : Polygon

+

Clipping : Polygon

  1. Sutherland–Hodgman algorithm
  2. +
  3. James D. Foley. Computer graphics: Principles and Practice. Addison-Wesley Professional.
  4. +
  5. Computer Graphics, C Version by Donald Hearn and M. Pauline Baker
  6. +
  7. Lectures L-05_polygon.pdf
@@ -162,57 +169,5 @@

Follow Us

- - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/lab/exp8/Introduction.html b/src/lab/exp8/Introduction.html index e62727111..23998e15e 100644 --- a/src/lab/exp8/Introduction.html +++ b/src/lab/exp8/Introduction.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - +
@@ -60,14 +61,17 @@ --> @@ -89,15 +93,15 @@
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

+

Computer Science & Engineering Computer Graphics Experiments

- +
-

Clipping : Polygon

+

Clipping : Polygon

When a 2D image is displayed onto a display screen, often the display area occupies a fraction of the amount of space that covers the entire image area. Thus the unnecessary parts of the image that are located outside the display area can be removed to reduce the exorbitant amount of computations involved to render them. @@ -168,57 +172,6 @@

Follow Us

- - - - - - - - - - - - - - diff --git a/src/lab/exp8/Manual.html b/src/lab/exp8/Manual.html index b1e0c0fee..4e7b0dfa1 100644 --- a/src/lab/exp8/Manual.html +++ b/src/lab/exp8/Manual.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - +
@@ -59,15 +60,18 @@ --> @@ -89,15 +93,15 @@
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

+

Computer Science & Engineering Computer Graphics  Experiments

- +
-

Clipping : Polygon

+

Clipping : Polygon

  1. The experiment contains a clipping window which represents the screen to which the graphics primitives (polygon in this case) are clipped to.
  2. The experiment allows the user to change the size of the clipping window.
  3. @@ -162,57 +166,5 @@

    Follow Us

    - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/lab/exp8/Objective.html b/src/lab/exp8/Objective.html index e28205bee..e9db6fa82 100644 --- a/src/lab/exp8/Objective.html +++ b/src/lab/exp8/Objective.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - +
@@ -59,15 +60,18 @@ --> @@ -89,15 +93,15 @@
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

+

Computer Science & Engineering Computer Graphics  Experiments

- +
-

Clipping : Polygon

+

Clipping : Polygon

Objective of this experiment is to understand the steps of a Polygon Clipping Algorithm, i.e., how a polygon is clipped so as to render only the part which a user can view. As an example, we have demonstrated the steps of Sutherland Hodgeman Algorithm. @@ -159,57 +163,6 @@

Follow Us

- - - - - - - - - - - - - - diff --git a/src/lab/exp8/Procedure.html b/src/lab/exp8/Procedure.html index f1ee75505..475aabfde 100644 --- a/src/lab/exp8/Procedure.html +++ b/src/lab/exp8/Procedure.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - +
@@ -60,14 +61,17 @@ --> @@ -89,15 +93,15 @@
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

+

Computer Science & Engineering Computer Graphics  Experiments

- +
-

Clipping : Polygon

+

Clipping : Polygon

  1. Fix the clipping window (the default parameters are already filled in the input boxes) and then click on Enter.
    You can also proceed directly to the experiment using the default parameters of the clipping window and the vertices of a polygon, by clicking on Start Experiment with Default Values.
  2. @@ -166,57 +170,6 @@

    Follow Us

    - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/lab/exp8/Quizzes.html b/src/lab/exp8/Quizzes.html index e784dd101..50698b21f 100644 --- a/src/lab/exp8/Quizzes.html +++ b/src/lab/exp8/Quizzes.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - +
@@ -60,14 +61,17 @@ --> @@ -89,41 +93,42 @@
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

+

Computer Science & Engineering Computer Graphics  Experiments

- +
-

Clipping : Polygon

-

-

    -
  1. The Sutherland Hodgeman works for the following cases :
    -
      -
    1. Convex Polygon with convex clip window
    2. -
    3. Concave polygon with convex clip window
    4. -
    5. Convex polygon with concave clip window
    6. -
    7. a and b
    8. -
    9. a and c
    10. -
    11. All of the above
    12. -
  2. -
  3. Will the output matter on the order in which we process the polygon?
    -
      -
    1. Yes
    2. -
    3. No
    4. -
  4. -
  5. Let m be the slope of the line joining clip polygon point Pi(x1, y1) and Pi+1(x2, y2). - The intersection point of this line with the Left side of clip window is : -
      -
    1. x = xmin; y = (int)(y2 + ((xmin - x2)*m));
    2. -
    3. x = xmax; y = (int)(y2 + ((xmax - x2)*m));
    4. -
    5. x = x2; y = ymin;
    6. -
    7. x = (int) (x2 + ((ymax - y2)/m)); y = ymax;
    8. -
  6. -
-

+

Clipping : Polygon

+
    +
  1. The Sutherland Hodgeman works for the following cases :
    +
      +
    1. Convex Polygon with convex clip window
    2. +
    3. Concave polygon with convex clip window
    4. +
    5. Convex polygon with concave clip window
    6. +
    7. a and b
    8. +
    9. a and c
    10. +
    11. All of the above
    12. +
    +
  2. +
  3. Will the output matter on the order in which we process the polygon?
    +
      +
    1. Yes
    2. +
    3. No
    4. +
  4. +
  5. Let m be the slope of the line joining clip polygon point Pi(x1, y1) and Pi+1(x2, y2). + The intersection point of this line with the Left side of clip window is : +
      +
    1. x = xmin; y = (int)(y2 + ((xmin - x2)*m));
    2. +
    3. x = xmax; y = (int)(y2 + ((xmax - x2)*m));
    4. +
    5. x = x2; y = ymin;
    6. +
    7. x = (int) (x2 + ((ymax - y2)/m)); y = ymax;
    8. +
    +
  6. +
+
@@ -182,57 +187,5 @@

Follow Us

- - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/lab/exp8/Theory.html b/src/lab/exp8/Theory.html index 64fdb4c74..49e143a93 100644 --- a/src/lab/exp8/Theory.html +++ b/src/lab/exp8/Theory.html @@ -26,6 +26,7 @@ + @@ -43,7 +44,7 @@ - +
@@ -59,15 +60,18 @@ --> @@ -89,15 +93,15 @@
-

Computer Science & Engineering →Computer Graphics →List Of Experiments

+

Computer Science & Engineering Computer Graphics  Experiments

- +
-

Clipping : Polygon

+

Clipping : Polygon

Sutherland Hodgeman's Polygon Clipping Algorithm

Pseudo Code of the algorithm

@@ -178,57 +182,5 @@

Follow Us

- - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/lab/exp9/Experiment.html b/src/lab/exp9/Experiment.html index 6eeb6f4f3..ae673ec0f 100644 --- a/src/lab/exp9/Experiment.html +++ b/src/lab/exp9/Experiment.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - +
+ + + + + +
+ + + + diff --git a/src/lab/exp9/Feedback.html b/src/lab/exp9/Feedback.html index 1a7fc200f..9e4167740 100644 --- a/src/lab/exp9/Feedback.html +++ b/src/lab/exp9/Feedback.html @@ -1,55 +1,84 @@ - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- -
+
+ +
+ + + +
+ + + + diff --git a/src/lab/feedback.html b/src/lab/feedback.html deleted file mode 100755 index f9fcd218a..000000000 --- a/src/lab/feedback.html +++ /dev/null @@ -1,212 +0,0 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- - - - - - -
- - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/lab/index.html b/src/lab/index.html index 9f585e1d4..89c68788d 100755 --- a/src/lab/index.html +++ b/src/lab/index.html @@ -26,6 +26,8 @@ + + @@ -99,7 +101,7 @@

<
-

Computer Graphics

+

Computer Graphics

Welcome to the Computer Graphics lab ! Here , we will try some virtual experiments to understand the different concepts of diff --git a/src/lab/introduction.html b/src/lab/introduction.html deleted file mode 100755 index 7b5d6d99a..000000000 --- a/src/lab/introduction.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -

-
- - -
- -
-
-
-
-
-
- - - -
-

Computer Science & Engineering

- -
- - -
- - -

Computer Graphics

-

- Welcome to the Computer Graphics lab ! Here , we will try some - virtual experiments to understand the different concepts of - graphics. We will go through understanding the concepts of 3D - Coordinate systems, Transformations, Hierarchical modelling - and Cameras. Later we will be visualising some basic algorithms - used to render the graphics. -

-
-
-
- - - - - -
- - - - -
- - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/lab/override.css b/src/lab/override.css new file mode 100644 index 000000000..eb222c00f --- /dev/null +++ b/src/lab/override.css @@ -0,0 +1,6 @@ +span.term { + font-family: monospace; + font-style: normal; + font-weight: bold; + color: #556B2F; +} diff --git a/src/lab/prerequisites.html b/src/lab/prerequisites.html deleted file mode 100755 index ae06685bd..000000000 --- a/src/lab/prerequisites.html +++ /dev/null @@ -1,245 +0,0 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - -
-
- - -
- -
-
-
-
-
-
- - - -
-

Computer Science & Engineering

- -
- - -
- -
- Prerequisite S/W -
-

-

-

-
- -
- - - -
-
- - - - - -
- - - -
- - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/lab/style-main.scss b/src/lab/style-main.scss new file mode 100644 index 000000000..0e41334e5 --- /dev/null +++ b/src/lab/style-main.scss @@ -0,0 +1,3034 @@ +/*----------------------------------------*/ +/* CSS +/*----------------------------------------*/ + +html, body { + height: 100%; +} + +.floatleft { + float: left; +} + +.floatright { + float: right; +} + +.alignleft { + float: left; + margin-right: 15px; + margin-bottom: 15px; +} + +.alignright { + float: right; + margin-left: 15px; + margin-bottom: 15px; +} + +.aligncenter { + display: block; + margin: 0 auto 15px; +} + +a:focus { + outline: 0px solid; +} + +img { + max-width: 100%; + height: auto; +} + +.fix { + overflow: hidden; +} + +p { + margin: 0 0 15px; + font-size:17.5px; +} +li{ + font-size:17.5px; + line-height:1.6; +} +i{ + font-size:16px; + line-height:1.6; +} + +h1, h2, h3, h4, h5, h6 { + font-family: 'Open Sans', sans-serif; + margin: 0 0 15px; + /*color: #444;*/ + font-weight: 500; +} + +h1 { + font-size: 48px; + line-height: 50px; +} + +h2 { + font-size: 38px; + line-height: 40px; +} + +h3 { + font-size: 30px; + line-height: 32px; +} + +h4 { + font-size: 24px; + line-height: 26px; +} + +h5 { + font-size: 20px; + line-height: 22px; +} + +h6 { + font-size: 16px; + line-height: 20px; +} + +a { + transition: all 0.3s ease 0s; + text-decoration: none; +} + +a:hover { + color: #3EC1D5; + text-decoration: none; +} + +a:active, a:hover { + outline: 0 none; +} + +body { + background: #fff none repeat scroll 0 0; + color: #444; + font-family: 'Open Sans', sans-serif; + font-size: 14px; + text-align: left; + overflow-x: hidden; + line-height: 22px; +} + +/* Back to top button */ +.back-to-top { + position: fixed; + display: none; + background: #3EC1D5; + color: #fff; + padding: 6px 12px 9px 12px; + font-size: 16px; + border-radius: 2px; + right: 15px; + bottom: 15px; + transition: background 0.5s; +} + +@media (max-width: 768px) { + .back-to-top { + bottom: 15px; + } +} + +.back-to-top:focus { + background: #3EC1D5; + color: #fff; + outline: none; +} + +.back-to-top:hover { + background: #3cd6ed; + color: #fff; +} + +.clear { + clear: both; +} + +ul { + list-style: outside none none; + margin: 0; + padding: 0; +} + +input, select, textarea, input[type="text"], input[type="date"], input[type="url"], input[type="email"], input[type="password"], input[type="tel"], button, button[type="submit"] { + -moz-appearance: none; + box-shadow: none !important; +} + +div#preloader { + position: fixed; + left: 0; + top: 0; + z-index: 99999; + width: 100%; + height: 100%; + overflow: visible; + background: #fff url('../img/preloader.gif') no-repeat center center; +} + +::-moz-selection { + background: #3EC1D5; + text-shadow: none; +} + +::selection { + background: #3EC1D5; + text-shadow: none; +} + +.area-padding { + /* padding: 31px 0px 80px;*/ +} + +.area-padding-2 { + padding: 70px 0px 50px; +} + +.padding-2 { + padding-bottom: 90px; +} + +.section-headline h2 { + display: inline-block; + font-size: 40px; + /*font-weight: 600;*/ + margin-bottom: 59px; + margin-top:42px; + position: relative; + text-transform: capitalize; +} + +.section-headline h2::after { + border: 1px solid #333; + bottom: -20px; + content: ""; + left: 0; + margin: 0 auto; + position: absolute; + right: 0; + width: 40%; +} + +.sec-head { + display: inline-block; + font-size: 17px; + font-weight: 600; + margin-bottom: 0; + padding: 0 0 10px; + text-transform: uppercase; + transition: all 0.4s ease 0s; +} + +/*--------------------------------*/ + +/* 2. Header top Area +/*--------------------------------*/ + +.header-area { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: auto; + background-color:#fff; + /*background: rgba(0, 0, 0, 0.40);*/ + z-index: 9; +} + +.navbar-header a.navbar-brand { + display: inline-block; + height: 90px; + /* padding: 15px 0;*/ +} + +.main-menu ul.navbar-nav li { + display: inline-block; + padding: 0px 13px; +} + +.main-menu ul.navbar-nav li a { + background: rgba(0, 0, 0, 0) none repeat scroll 0 0; + color: #a7a9ab; + font-size: 15px; + font-weight: 500; + padding: 24px 0px; + text-transform: capitalize; + letter-spacing: 1px; +} + +.main-menu ul.navbar-nav li.active a::after { + border: 1px solid #3cd6ed; + bottom: 0px; + content: ""; + left: 0; + position: absolute; + width: 100%; +} + +.main-menu ul.navbar-nav li.active a:hover { + background: none; + color: #3EC1D5; +} + +.main-menu ul.navbar-nav li.active a:focus { + color: #3cd6ed; +} + +.main-menu ul.navbar-nav li.active a { + background: rgba(0, 0, 0, 0) none repeat scroll 0 0; + color: #a7a9ab; + position: relative; +} + +.main-menu ul.navbar-nav li a:hover { + color: #3EC1D5; +} + +.navbar { + border: medium none; + margin-bottom: 0; +} + +.navbar-default { + background: rgba(0, 0, 0, 0) none repeat scroll 0 0; +} + +.main-menu ul.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus { + background: none; + color: #333; +} + +.navbar-default .navbar-toggle { + background: rgba(0, 0, 0, 0) none repeat scroll 0 0; + + border: medium none; + border-radius: 0; + padding: 25px 0px; +} + +.navbar-default .navbar-nav>li>a:hover, .navbar-default .navbar-nav>li>a:focus { + background-color: transparent; + color: #a7a9ab; +} + +.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { + background: none; +} + +.navbar-default .navbar-toggle .icon-bar { + background-color: #fff; + width: 30px; + height: 2px; +} + +.top-right.text-right { + float: right; + position: relative; + top: 24px; + margin-left: 20px; +} + +.top-right.text-right>li { + float: right; + margin: 0px 8px; +} + +.top-right.text-right li a { + color: #fff; +} + +/*--------------------------------*/ + +/* menu +/*--------------------------------*/ + +.header-area.stick { + /*background-color: rgba(0, 0, 0, 1);*/ + background-color:#fff; + height: 90px; + position: fixed; + top: 0; + width: 100%; + z-index: 999999; +} + +.stick .navbar-header a.navbar-brand { + display: inline-block; + height: 90px; +} + +.stick .navbar-brand>img { + display: none; +} + +.stick .navbar-brand.sticky-logo>img { + display: block; +} + +.sticky-logo h1 { + color: #fff; + padding: 0; + margin: 0; + font-size: 36px; + font-weight: bold; + line-height: 1; +} + +.sticky-logo h1 span { + color: #3ec1d5; +} +.stick .main-menu ul.navbar-nav li.active a::after { + border: 1px solid #3EC1D5; + bottom: 0px; + content: ""; + left: 0; + position: absolute; + width: 100%; +} + +.stick .main-menu ul.nav>li>a:hover { + color: #3EC1D5; +} + +.stick .main-menu ul.navbar-nav li.active a { + background: rgba(0, 0, 0, 0) none repeat scroll 0 0; + color: #3EC1D5; + position: relative; +} + +.stick .mainmenu ul#nav>li:hover>a, .stick .mainmenu ul#nav li .mega-menu, .stick .mainmenu ul#nav li ul.sub-menu { + background-color: #f5f5f5; + color: #fff; + outline: medium none; +} + +.stick .mainmenu ul#nav li:hover ul.sub-menu li a:hover, .mainmenu ul#nav li .mega-menu span>a:hover, .stick .mainmenu ul#nav li .mega-menu-shop a.mega-menu-title:hover { + color: #fff; +} + +.stick .logo { + height: 20px; +} + +.stick .logo a { + margin-top: 0px; +} + +.stick .main-menu ul.nav>li>a { + color: #a7a9ab; + line-height: 22px; + padding: 24px 0px; + text-transform: capitalize; + letter-spacing: 1px; +} + +.stick .navbar-default .navbar-toggle .icon-bar { + background-color: #fff; + width: 30px; + height: 2px; +} + +.stick .navbar-default .navbar-toggle { + padding: 10px 0px; +} + + +/*--------------------------------*/ + +/* Services +/*--------------------------------*/ + +.services-icon { + color: #444; + display: inline-block; + font-size: 36px; + line-height: 36px; + margin-bottom: 20px; +} + +.section-headline.services-head>h2 { + margin-bottom: 25px; +} + +.services-details { + padding-top: 40px; + transition: all 0.5s ease 0s; + padding-top: 20px; +} + +.services-details:hover h4, .services-details:hover .services-icon { + color: #3EC1D5; +} + +.row.second-row { + margin-top: 40px; +} + +.section-head>h2 { + color: #333; +} + +.single-services>h4 { + color: #444; + font-size: 24px; + font-weight: 500; +} + +.single-services>p { + color: #333; + font-size: 14px; +} + +/*---------------------------------------- + Skill Area +----------------------------------------*/ + +.our-skill-area { + position: relative; +} + +.our-skill-area { + background: rgba(248, 248, 248, 0.8) url("../img/background/bg1.jpg") no-repeat fixed center top / cover; +} + +.test-overly { + background: rgba(0, 0, 0, 0.80); + position: absolute; + width: 100%; + height: 100%; +} + +.progress-h4 { + color: #fff; + font-weight: 500; +} + + +/*---------------------------------------- + Css +----------------------------------------*/ + +.wellcome-area { + background: rgba(248, 248, 248, 0.8) url("../img/background/bg1.jpg"); + background-size: cover; + background-position: center top; + background-repeat: no-repeat; + background-attachment: fixed; +} + +.well-bg { + position: relative; +} + +.wellcome-text { + /* margin: 70px 0;*/ + padding: 30px 40px; +} + +.well-text>h2 { + color: #fff; + font-size: 44px; + font-weight: 500; + line-height: 50px; +} + +.well-text p { + font-size: 18px; + font-style: italic; + color: #fff; +} + +.wellcome-text .section-headline p { + margin-bottom: 0; +} + +.subs-feilds { + border: 1px solid #fff; + display: inline-block; + height: 52px; + margin-top: 30px; + width: 60%; + border-radius: 30px; + overflow: hidden; +} + +.suscribe-input input { + background: transparent none repeat scroll 0 0; + border: medium none; + color: #fff; + float: left; + font-size: 15px; + line-height: 24px; + padding: 11px 15px; + width: 70%; + height: 50px; +} + +.suscribe-input button { + background: #3ec1d5 none repeat scroll 0 0; + border: medium none; + border-radius: 0 20px 20px 0; + color: #fff; + float: left; + font-size: 20px; + font-weight: 700; + padding: 14px 20px; + width: 30%; +} + +.suscribe-input button:hover { + background: #fff none repeat scroll 0 0; + color: #3ec1d5; +} + +/*---------------------------------------- + career section +----------------------------------------*/ + +.team-member { + background: rgba(0, 0, 0, 0.65) none repeat scroll 0 0; + display: block; + margin-right: -15px; + padding: 10px; + position: relative; + overflow: hidden; +} + +.team-member::before { + background: rgba(0, 0, 0, 0) url("../img/team/team01.jpg") repeat scroll 0 0; + content: ""; + display: block; + height: 100%; + left: 0; + margin-right: -15px; + padding: 10px; + position: absolute; + top: 0; + width: 100%; + z-index: -1; + background-repeat: no-repeat; + background-size: cover; + background-position: top center; + transition: 5s; + transform: scale(1); +} + +.team-member:hover.team-member::before { + transform: scale(1.2); +} + +.single-team-member { + border: 1px solid #ddd; +} + +.team-left-text h4 { + color: #fff; + font-size: 30px; + font-weight: 700; + text-transform: uppercase; +} + +.team-left-text p { + color: #fff; + font-size: 17px; + line-height: 26px; +} + +.email-news { + display: block; + margin: 30px 0; + overflow: hidden; + text-align: center; + width: 100%; +} + +.email-news .email_button input { + background: rgba(0, 0, 0, 0) none repeat scroll 0 0; + border: 1px solid #fff; + color: #fff; + float: left; + font-size: 13px; + padding: 8px; + width: 81%; +} + +.email-news .email_button>button { + background: rgba(0, 0, 0, 0) none repeat scroll 0 0; + border: 1px solid #fff; + color: #fff; + float: left; + font-size: 16px; + padding: 8px 12px; + text-align: center; +} + +.email-news .email_button>button:hover { + background: #3EC1D5; + border: 1px solid #fff; + color: #fff; +} + +.team-left-icon ul li { + display: inline-block; +} + +.team-left-icon ul li a:hover { + color: #3EC1D5; + background: #fff; + border: 2px solid #fff; +} + +.team-left-icon ul li a { + border: 2px solid #fff; + color: #fff; + display: block; + font-size: 16px; + height: 40px; + line-height: 37px; + margin: 0 3px; + width: 40px; +} + +.team-member-carousel .single-team-member { + overflow: hidden; + width: 100%; +} + +.single-team-member:hover .team-img a:after { + opacity: 1; +} + +.single-team-member:hover .team-social-icon { + top: 45%; + opacity: 1; +} + +.team-img { + position: relative; +} + +.team-img>a { + display: block; +} + +.team-img>a::after { + background: rgba(0, 0, 0, 0.70); + bottom: 0; + content: ""; + height: 100%; + left: 0; + position: absolute; + transition: all 0.5s ease 0s; + width: 100%; + opacity: 0; +} + +.team-social-icon { + left: 50%; + margin-left: -61px; + opacity: 0; + position: absolute; + top: 30%; + transition: 1.3s; +} + +.team-social-icon ul li { + display: inline-block; +} + +.team-social-icon ul li a { + border: 1px solid #fff; + border-radius: 50%; + color: #fff; + display: block; + font-size: 14px; + height: 34px; + line-height: 35px; + margin: 0 3px; + width: 34px; +} + +.team-social-icon ul li a:hover { + color: #fff; + border: 1px solid #3EC1D5; + background: #3EC1D5; +} + +.team-content { + padding: 10px 0px; +} + +.team-content>h4, .team-content>p { + color: #444; + margin-bottom: 5px; +} + +.team-content.head-team p { + margin-bottom: 0; +} + +.team-left-icon.text-center { + margin-bottom: 20px; +} + +.head-team h4 { + display: inline-block; + font-size: 25px; + font-weight: 600; + padding-bottom: 10px; + text-transform: uppercase; +} + + + + + + +#top { + display: grid; + min-height: 100%; + grid-template-rows: max-content auto max-content; +} + + + + + + + +/*-------------------------------------------------------------- +# Footer +--------------------------------------------------------------*/ + +#footer { + background: #000; + color: #eee; + font-size: 14px; +} + +#footer .footer-top { + background: #111; + /*padding: 60px 0 30px 0;*/ + padding: 15px 0 0px 0; +} + +#footer .footer-top .footer-info h3 { + font-size: 34px; + margin: 0 0 20px 0; + padding: 2px 0 2px 10px; + line-height: 1; + font-family: "Open Sans", sans-serif; + font-weight: 700; + letter-spacing: 3px; + border-left: 4px solid #18d26e; +} + +#footer .footer-top p { + font-size: 1.4rem; + margin-bottom: 0; + color: #eee; +} + +#footer .footer-top .social-links a { + font-size: 18px; + display: inline-block; + background: #333; + color: #eee; + line-height: 1; + padding: 8px 0; + margin-right: 4px; + border-radius: 50%; + text-align: center; + width: 36px; + height: 36px; + transition: 0.3s; +} + +#footer .footer-top .social-links a:hover { + background: #3cd6ed; + color: #fff; +} + +#footer .footer-top h4 { + font-size: 14px; + color: #fff; + position: relative; + padding-bottom: 12px; +} + +#footer .footer-top h4::before, #footer .footer-top h4::after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + height: 2px; +} + +#footer .footer-top h4::before { + right: 0; + background: #555; +} + +#footer .footer-top h4::after { + background: #3EC1D5; + width: 60px; +} +#footer .footer-top i { + color:#fff; +} + +#footer .footer-top a { + color:#fff; +} + +/*-------------------------------------------------------------- +# Intro Section +--------------------------------------------------------------*/ +#intro { + + width: 100%; + + /* background: #000; + display: table; + height: 100vh; + */ +} + +#intro .carousel-item { + width: 100%; + /* height: 100vh;*/ + background-size: cover; + background-position: center; + background-repeat: no-repeat; +} + +#intro .carousel-item::before { + content: ''; + background-color: rgba(0, 0, 0, 0.4); + position: absolute; + height: 100%; + width: 100%; + top: 0; + right: 0; + left: 0; + bottom: 0; +} + +#intro .carousel-container { + display: flex; + justify-content: left; + align-items: center; + position: absolute; + bottom: 0; + top: 0; + left: 0; + right: 0; +} + +#intro .carousel-content { + text-align: left; + padding-top:220px; +} + +#intro h2 { + color: #fff; + margin-bottom: 30px; + font-size: 48px; + font-weight: 700; +} + +@media (max-width: 768px) { + #intro h2 { + font-size: 28px; + } +} + +#intro p { + width: 100%; + margin: 0 auto 30px auto; + color: #fff; +} + +@media (min-width: 1024px) { + #intro p { + width: 100%; + font-size:45px; + } +} + +#intro .carousel-fade .carousel-inner .carousel-item { + -webkit-transition-property: opacity; + transition-property: opacity; +} + +#intro .carousel-fade .carousel-inner .carousel-item, +#intro .carousel-fade .carousel-inner .active.carousel-item-left, +#intro .carousel-fade .carousel-inner .active.carousel-item-right { + opacity: 0; +} + +#intro .carousel-fade .carousel-inner .active, +#intro .carousel-fade .carousel-inner .carousel-item-next.carousel-item-left, +#intro .carousel-fade .carousel-inner .carousel-item-prev.carousel-item-right { + opacity: 1; + transition: 0.5s; +} + +#intro .carousel-fade .carousel-inner .carousel-item-next, +#intro .carousel-fade .carousel-inner .carousel-item-prev, +#intro .carousel-fade .carousel-inner .active.carousel-item-left, +#intro .carousel-fade .carousel-inner .active.carousel-item-right { + left: 0; + -webkit-transform: translate3d(0, 0, 0); + transform: translate3d(0, 0, 0); +} + +#intro .carousel-control-prev, #intro .carousel-control-next { + width: 10%; +} + +@media (min-width: 1024px) { + #intro .carousel-control-prev, #intro .carousel-control-next { + width: 5%; + } +} + +#intro .carousel-control-next-icon, #intro .carousel-control-prev-icon { + background: none; + font-size: 32px; + line-height: 1; +} + +#intro .carousel-indicators li { + cursor: pointer; +} + +#intro .btn-get-started { + font-family: "Open Sans", sans-serif; + font-weight: 500; + font-size: 16px; + letter-spacing: 1px; + display: inline-block; + padding: 8px 32px; + border-radius: 50px; + transition: 0.5s; + margin: 10px; + color: #fff; + background: #18d26e; +} + +#intro .btn-get-started:hover { + background: #fff; + color: #18d26e; +} + +.downArrow{ + position: absolute; + bottom: 0%; + left: 50%; +} +.bounce { + -moz-animation: bounce 3s infinite; + -webkit-animation: bounce 3s infinite; + animation: bounce 3s infinite; +} +@-moz-keyframes bounce { + 0%, 20%, 50%, 80%, 100% { + -moz-transform: translateY(0); + transform: translateY(0); + } + 40% { + -moz-transform: translateY(-30px); + transform: translateY(-30px); + } + 60% { + -moz-transform: translateY(-15px); + transform: translateY(-15px); + } +} +@-webkit-keyframes bounce { + 0%, 20%, 50%, 80%, 100% { + -webkit-transform: translateY(0); + transform: translateY(0); + } + 40% { + -webkit-transform: translateY(-30px); + transform: translateY(-30px); + } + 60% { + -webkit-transform: translateY(-15px); + transform: translateY(-15px); + } +} +@keyframes bounce { + 0%, 20%, 50%, 80%, 100% { + -moz-transform: translateY(0); + -ms-transform: translateY(0); + -webkit-transform: translateY(0); + transform: translateY(0); + } + 40% { + -moz-transform: translateY(-30px); + -ms-transform: translateY(-30px); + -webkit-transform: translateY(-30px); + transform: translateY(-30px); + } + 60% { + -moz-transform: translateY(-15px); + -ms-transform: translateY(-15px); + -webkit-transform: translateY(-15px); + transform: translateY(-15px); + } +} + +/* the blue circle with only one line of text, centered vertically */ +.oneline:after { + content: ""; + display: block; + width: 100%; + height: 0; + padding-bottom: 100%; + background: cadetblue; + -moz-border-radius: 50%; + -webkit-border-radius: 50%; + border-radius: 50%; +} +.oneline:hover:after { + background-color: #3EC1D5; +} +.oneline div { + float: left; + width: 100%; + padding-top: 19%; + line-height: 1em; + margin-top: -1.7em; + text-align: center; + color: white; +} +.oneline p { + text-align: center; + font-size: 1.2em; +} + +@media only screen and (min-width: 350px) { + .col { + display: inline-block; + position: relative; + width: 100%; + margin: 4% 0 5% 9%; + padding: 0; + background-color: transparent; + border-top: none; + height:260px; + } + .col .spacer { + position: relative; + padding-top: 100%; + } + .col:nth-child(3n+1) { + margin-left: 1%; + } + + .circle { + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + background-color: powderblue; + color: #333; + border-radius: 50%; + box-sizing: border-box; + text-align: center; + display: block; + padding: 5px; + border: 5px solid #9dd8e0; + -webkit-transition: all 1s ease-out; + -moz-transition: all 1s ease-out; + -o-transition: all 1s ease-out; + transition: all 1s ease-out; + } + .circle:before { + content: ''; + display: inline-block; + height: 100%; + vertical-align: middle; + margin-right: -2%; + } + .circle:hover { + /* background-color: #a7a9ab;*/ + background-color:#3EC1D5; + border: 5px solid #444; + color: #fff; + } +/*new class added for text hover*/ + .circle:hover h4{ + /* background-color: #a7a9ab;*/ + background-color:#3EC1D5; + + color: #fff; + } + + .outline { + border: 5px solid grey; + position: absolute; + top: 0; + bottom: 0; + left: 0; + right: 0; + border-radius: 50%; + box-sizing: border-box; + } + + .circle h1 { + font-size: 0.9em; + line-height: 1em; + } + .circle p { + font-size: 0.8em; + line-height: 1em; + color: white; + text-align: center; + } + .circle a { + color: inherit; + } + .circle > p, .circle > h1, .circle > .wrapcontent { + display: inline-block; + vertical-align: middle; + } + .circle > p > p, .circle > p > h1, .circle > h1 > p, .circle > h1 > h1, .circle > .wrapcontent > p, .circle > .wrapcontent > h1 { + display: block; + } +} +@media only screen and (min-width: 481px) { + .circle h1 { + font-size: 1.2em; + line-height: 1em; + } + .circle p { + font-size: 1em; + line-height: 1em; + } +} +@media only screen and (min-width: 768px) { + .circle h1 { + font-size: 1.6em; + line-height: 1em; + } + .circle p { + font-size: 1.2em; + line-height: 1em; + } +} + + +/*Accordian*/ + +.accordion { + width: 100%; + max-width: 1080px; + height: 250px; + overflow: hidden; + margin: 50px auto; + +} +.accordion ul { + width: 100%; + display: table; + table-layout: fixed; + margin: 0; + padding: 0; + +} +.accordion ul li { + display: table-cell; + vertical-align: bottom; + position: relative; + width: 16.666%; + height: 250px; + background-repeat: no-repeat; + background-position: center center; + transition: all 500ms ease; +} +.accordion ul li div { + display: block; + overflow: hidden; + width: 100%; + padding:32px; +height: 287px; +margin-top: -124px; +} +.accordion ul li div a{ + display: block; + /*height: 250px;*/ + width: 100%; + position: relative; + z-index: 3; + vertical-align: bottom; + /* padding: 15px 20px;*/ + box-sizing: border-box; + color: #fff; + text-decoration: none; + font-family: Open Sans, sans-serif; + transition: all 200ms ease; + +} +.accordion ul li div a * { + opacity: 0; + margin: 0; + width: 100%; + text-overflow: ellipsis; + position: relative; + z-index: 5; + white-space: nowrap; + overflow: hidden; + -webkit-transform: translateX(-20px); + transform: translateX(-20px); + -webkit-transition: all 400ms ease; + transition: all 400ms ease; +} +.accordion ul li div a h2 { + font-family: Montserrat,sans-serif; + text-overflow: clip; + font-size: 24px; + text-transform: uppercase; + margin-bottom: 2px; + /*top: 160px;*/ +} +.accordion ul li div a p { + /* top: 160px; + font-size: 13.5px;*/ + font-size: 16px; + line-height:2.2; + +} +.accordion ul li:nth-child(1) { + + background-image: url("http://files.vlabs.ac.in/iiith-landing-pages/img/disciplines/computer-science.jpg"); +} +.accordion ul li:nth-child(2) { + + background-image: url("http://files.vlabs.ac.in/iiith-landing-pages/img/disciplines/computer-science.jpg"); +} +.accordion ul li:nth-child(3) { + background-image: url("http://files.vlabs.ac.in/iiith-landing-pages/img/disciplines/computer-science.jpg"); + +} +.accordion ul li:nth-child(4) { + + background-image: url("http://files.vlabs.ac.in/iiith-landing-pages/img/disciplines/computer-science.jpg"); +} +.accordion ul li:nth-child(5) { + + background-image: url("http://files.vlabs.ac.in/iiith-landing-pages/img/disciplines/computer-science.jpg"); +} +.accordion ul li:nth-child(6) { + /* background-image: url("http://michael-ferry.com/assets/accordion6.jpg");*/ +} +.accordion ul:hover li { + width: 8%; +} +.accordion ul:hover li:hover { + width: 60%; +} +.accordion ul:hover li:hover a { + /*background: rgba(0, 0, 0, 0.4);*/ +} +.accordion ul:hover li:hover a * { + opacity: 1; + -webkit-transform: translateX(0); + transform: translateX(0); +} + +@media screen and (max-width: 600px) { + body { + margin: 0; + } + + .accordion { + /*height: auto;*/ +} + .accordion ul li, .accordion ul li:hover, .accordion ul:hover li, .accordion ul:hover li:hover { + position: relative; + display: table; + table-layout: fixed; + width: 100%; + -webkit-transition: none; + transition: none; +} +} +.about { + text-align: center; + font-family: 'Open Sans', sans-serif; + font-size: 12px; + color: #666; +} +.about a { + color: blue; + text-decoration: none; +} +.about a:hover { + text-decoration: underline; +} +/*accordion ends here*/ + + + +/*logo line*/ +.vline { + border-left: 2px solid #a7a9ab; +height: 62px; +position: absolute; +/*left: 10.5%;*/ +margin-left: -3px; +top: 15px; +} +/*logo line ends here*/ + + +/* style.scss */ + + +// Fonts +@import url(https://fonts.googleapis.com/css?family=Open+Sans); +@import url(https://fonts.googleapis.com/css?family=Montserrat:700); + +// Accordion Height +$a-height: 250px; + +// Position text along bottom +$text-offset: $a-height - 90; + +// Page Title +h1 { + + text-align:center; + font-family:Montserrat,sans-serif; + color:#333; + +} + +.accordion { + + width:100%; + max-width:1080px; + height:$a-height; + overflow:hidden; + margin:50px auto; + + ul { + + width:100%; + display:table; + table-layout:fixed; + margin:0; + padding:0; + + li { + + display:table-cell; + vertical-align:bottom; + position: relative; + width:16.666%; // 6 into 100 + height:$a-height; + + background-repeat:no-repeat; + background-position:center center; + + transition:all 500ms ease; + + div { + + display:block; + overflow:hidden; + width:100%; + + a { + + display:block; + height:$a-height; + width:100%; + + position:relative; + z-index:3; + vertical-align:bottom; + padding:15px 20px; + box-sizing:border-box; + color:#fff; + text-decoration:none; + font-family:Open Sans, sans-serif; + + transition:all 200ms ease; + + * { + + opacity:0; + margin:0; + width:100%; + text-overflow:ellipsis; + position:relative; + z-index:5; + + white-space:nowrap; + overflow:hidden; + + -webkit-transform:translateX(-20px); + transform:translateX(-20px); + + -webkit-transition:all 400ms ease; + transition:all 400ms ease; + + } + + h2 { + + font-family:Montserrat,sans-serif; + text-overflow:clip; + font-size:24px; + text-transform:uppercase; + margin-bottom:2px; + + top:$text-offset; + + } + + p { + + top:$text-offset; + font-size:13.5px; + + } + + } + + } + + } + + // Background images + li:nth-child(1) { background-image:url('http://michael-ferry.com/assets/accordion1.jpg'); } + li:nth-child(2) { background-image:url('http://michael-ferry.com/assets/accordion2.jpg'); } + li:nth-child(3) { background-image:url('http://michael-ferry.com/assets/accordion3.jpg'); } + li:nth-child(4) { background-image:url('http://michael-ferry.com/assets/accordion4.jpg'); } + li:nth-child(5) { background-image:url('http://michael-ferry.com/assets/accordion5.jpg'); } + li:nth-child(6) { background-image:url('http://michael-ferry.com/assets/accordion6.jpg'); } + + &:hover li, + &:focus-within li { width:8%; } + + li:focus { + outline: none; + } + + &:hover li:hover, + // allow users to tab through active slides + li:focus, + &:focus-within li:focus { + + width:60%; + + a { + + background:rgba(0,0,0,.4); + + * { + + opacity:1; + -webkit-transform:translateX(0); + transform:translateX(0); + + } + + } + + } + + &:hover li { + width: 8% !important; + + a * { opacity: 0 !important; } + } + + &:hover li:hover { + width:60% !important; + + a { + + background:rgba(0,0,0,.4); + + * { + + opacity:1 !important; + -webkit-transform:translateX(0); + transform:translateX(0); + + } + + } + } + + } + +} + +// Stack items +@media screen and (max-width: 600px) { + + // IE gets fussy if this isn't here + body { margin:0; } + + .accordion { + + height:auto; + + ul,ul:hover { + + li,li:hover { + + position:relative; + display:table; + table-layout:fixed; + width:100%; + + -webkit-transition:none; + transition:none; + + } + + } + + } + +} + +.about { + + text-align:center; + font-family:'Open Sans', sans-serif; + font-size:12px; + color:#666; + + a { + + color:blue; + text-decoration:none; + + &:hover { text-decoration:underline; } + + } + +} + +/* style.css */ + +/* +Theme Name: Vlabs +Theme URI: http://www.vlabs.ac.in +Author: Vlabs.co.in +Author URI: http://www.vlabs.ac.in +Description: The theme to accompany the profile site for vlabs.ac.in +Version: 1.0 +*/ +@import url(https://fonts.googleapis.com/css?family=Raleway:400,300,700,500,600); +body { + overflow-x: hidden; + font-family:'Raleway' !important; +} + +p { + font-size: 16px; +} + +/*** Calendar **********************/ +.content .container-fluid div.calender { position: relative; } + +.container-fluid .calender table { +cursor:pointer; +border:1px solid #ccc; +font-size: 11px; +color: #000; +background: #fff; +font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; +} + +.container-fluid .calender .button { +text-align: center; +padding: 2px; +} + +.container-fluid .calender .nav { +background:#f5f5f5; +} + +.container-fluid .calender thead .title { +font-weight: bold; +text-align: center; +background: #dedede; +color: #000; +padding: 2px 0 3px 0; +} + +.container-fluid .calender thead .headrow { +background: #f5f5f5; +color: #444; +font-weight:bold; +} + +.container-fluid .calender thead .daynames { +background: #fff; +color:#333; +font-weight:bold; +} + +.container-fluid .calender thead .name { +border-bottom: 1px dotted #ccc; +padding: 2px; +text-align: center; +color: #000; +} + +.container-fluid .calender thead .weekend { +color: #666; +} + +.container-fluid .calender thead .hilite { +background-color: #444; +color: #fff; +padding: 1px; +} + +.container-fluid .calender thead .active { +background-color: #d12f19; +color:#fff; +padding: 2px 0px 0px 2px; +} + + +.container-fluid .calender tbody .day { +width:1.8em; +color: #222; +text-align: right; +padding: 2px 2px 2px 2px; +} +.container-fluid .calender tbody .day.othermonth { +font-size: 80%; +color: #bbb; +} +.container-fluid .calender tbody .day.othermonth.oweekend { +color: #fbb; +} + +.container-fluid .calender table .wn { +padding: 2px 2px 2px 2px; +border-right: 1px solid #000; +background: #666; +} + +.container-fluid .calender tbody .rowhilite td { +background: #FFF1AF; +} + +.container-fluid .calender tbody .rowhilite td.wn { +background: #FFF1AF; +} + +.container-fluid .calender tbody td.hilite { +padding: 1px 1px 1px 1px; +background:#444 !important; +color:#fff !important; +} + +.container-fluid .calender tbody td.active { +color:#fff; +background: #529214 !important; +padding: 2px 2px 0px 2px; +} + +.container-fluid .calender tbody td.selected { +font-weight: bold; +border: 1px solid #888; +padding: 1px 1px 1px 1px; +background: #f5f5f5 !important; +color: #222 !important; +} + +.container-fluid .calender tbody td.weekend { +color: #666; +} + +.container-fluid .calender tbody td.today { +font-weight: bold; +color: #529214; +background:#D9EFC2; +} + +.container-fluid .calender tbody .disabled { color: #999; } + +.container-fluid .calender tbody .emptycell { +visibility: hidden; +} + +.container-fluid .calender tbody .emptyrow { +display: none; +} + +.container-fluid .calender tfoot .footrow { +text-align: center; +background: #556; +color: #fff; +} + +.container-fluid .calender tfoot .ttip { +background: #222; +color: #fff; +font-size:10px; +border-top: 1px solid #dedede; +padding: 3px; +} + +.container-fluid .calender tfoot .hilite { +background: #aaf; +border: 1px solid #04f; +color: #000; +padding: 1px; +} + +.container-fluid .calender tfoot .active { +background: #77c; +padding: 2px 0px 0px 2px; +} + +.container-fluid .calender .combo { +position: absolute; +display: none; +top: 0px; +left: 0px; +width: 4em; +border: 1px solid #ccc; +background: #f5f5f5; +color: #222; +font-size: 90%; +z-index: 100; +} + +.container-fluid .calender .combo .label, +.container-fluid .calender .combo .label-IEfix { +text-align: center; +padding: 1px; +} + +.container-fluid .calender .combo .label-IEfix { +width: 4em; +} + +.container-fluid .calender .combo .hilite { +background: #444; +color:#fff; +} + +.container-fluid .calender .combo .active { +border-top: 1px solid #999; +border-bottom: 1px solid #999; +background: #dedede; +font-weight: bold; +} +.container-fluid form li div label +{ + clear:both; + color:#444; + display:block; + font-size:9px; + line-height:9px; + margin:0; + padding-top:3px; +} + +.container-fluid form li span label +{ + clear:both; + color:#444; + display:block; + font-size:9px; + line-height:9px; + margin:0; + padding-top:3px; +} +.container-fluid form li .datepicker +{ + cursor:pointer !important; + float:left; + height:16px; + margin:.1em 5px 0 0; + padding:0; + width:16px; +} +.container-fluid input.text +{ + background:#fff url(../../../images/shadow.gif) repeat-x top; + border-bottom:1px solid #ddd; + border-left:1px solid #c3c3c3; + border-right:1px solid #c3c3c3; + border-top:1px solid #7c7c7c; + color:#333; + font-size:100%; + margin:0; + padding:2px 0; +} +p.small { + font-size: 16px; +} + + +.container-fluid form ul +{ + font-size:200%; + list-style-type:none; + margin:0; + padding:0; + width:100%; +} + +.container-fluid form li +{ + display:block; + margin:0; + padding:4px 5px 2px 9px; + position:relative; +} +a, +a:hover, +a:focus, +a:active, +a.active { + outline: 0; +} +@media(min-width:768px) { + .navbar-fixed-top { + padding: 25px 0; + -webkit-transition: padding .3s; + -moz-transition: padding .3s; + transition: padding .3s; + } + + .navbar-fixed-top .navbar-brand { + font-size: 2em; + -webkit-transition: all .3s; + -moz-transition: all .3s; + transition: all .3s; + } + + .navbar-fixed-top.navbar-shrink { + padding: 10px 0; + } + + .navbar-fixed-top.navbar-shrink .navbar-brand { + font-size: 1.5em; + } +} + +.navbar a:focus { + outline: 0; +} + +.navbar .navbar-nav li a:focus { + outline: 0; +} + +.navbar-default, +.navbar-inverse { + border: 0; +} +.footer-div +{ +margin-top:120px; +} + +/*******************************************************************************/ +/*****************************CUSTOME STYLE*************************************/ +/*******************************************************************************/ + +.search-textbox +{ + background: url("../images/search-box.png") no-repeat; + border: 0 none; + color: #666666; + float: left; + font-family: 'Raleway'; + font-size: 15px; + height: 36px; + margin: 0; + padding-left: 15px; + transition: background 0.3s ease-in-out 0s; + width: 220px; + +} + +.search-button +{ + background: url("../images/search.png") no-repeat; + cursor: pointer; + height: 36px; + text-indent: -99999em; + width: 36px; + border: 0px; + +} +.main-logo-a +{ + height: auto; + overflow: visible; + margin-left: 0px !important; + padding-bottom: 10px !important; + padding-top: 10px !important; +} + +.menu-a +{ + font-size: 14px !important; + font-family: 'Raleway' !important; + color: #2C99CD !important; + padding-left: 10px !important; + padding-bottom: 5px !important; + padding-top: 5px !important; + padding-right: 10px !important; + +} + +.menu-a-active +{ + color: white !important; +} + +.menu-li +{ + /* float: right; */ + border-radius: 10px; + margin-left: 20px; + margin-right: 20px; +} + +.menu-li:HOVER +{ + background-color: #77BB41 !important; +} + +.menu-a:HOVER +{ + color: white !important; +} +.menu-li-active +{ + background-color: #77BB41; +} + +.menu-div +{ + /* margin-top: 30px; */ + +} + +.menu-ul +{ + margin-top: 45px; +} + +@media only screen and (max-width: 375px) { + .featured-labs-experiment-div + { + text-align: center; + } + .featured-labs-experiment-icon + { + float: left; + min-width: 78px; + } +} + + +@media only screen and (min-width: 401px) { + + .custom-toggle + { + margin-bottom: 0px !important; + margin-top: 27px !important; + } +} + +@media only screen and (max-width: 400px) { + + .main-logo-a + { + width: 60%; + } + + .custom-toggle + { + margin-bottom: 0px !important; + margin-top: 12% !important; + } + + +/* .menu-div + { + margin-top: 30px !important; + } */ + +} + + + +@media only screen and (min-width: 401px) and (max-width: 523px) { + +/* .menu-div + { + margin-top: 30px !important; + } */ +} + +@media only screen and (max-width: 496px) { + + .featured-labs-div + { + background: none !important; + } +} + +@media only screen and (max-width: 540px) { + .broad-labs-empty-div + { + display: none; + } + .border-right-green-dotted + { + margin-top: 60px !important; + } +} + +@media only screen and (min-width: 401px) and (max-width: 767px) { + + .main-logo + { + width: 70%; + } +} + +@media only screen and (max-width: 767px) { + + .menu-ul + { + margin-top: 0px !important; + } + + .menu-li-active + { + background-color: white !important; + } + + .menu-a-active + { + color: #2C99CE !important; + } + + .search-ul + { + display: none !important; + } + + + +} + +@media only screen and (min-width: 768px) and (max-width: 991px) { + .menu-a + { + font-size: 1.4em !important; + } + + .main-logo + { + width: 70%; + } + + .banner-text-small + { + font-size: 1.2em !important; + } + + .banner-text-medium + { + font-size: 1.7em !important; + } + + .banner-text-big + { + font-size: 2.0em !important; + } + +} + +@media only screen and (max-width: 991px) { + .menu-ul + { + margin-top: 30px; + } + + .search-textbox + { + width: 150px; + font-size: 0.9em; + } + + .menu-li + { + margin-left: 10px; + margin-right: 10px; + } + .aboutus-col-8 + { + padding-right: 15px !important; + } + .footer-div + { + background-size: cover !important; + } + + .lab-list-col-10 + { + /* background: none !important; */ + overflow:hidden; + } + + .featured-labs-main-div + { + margin-top: -35px !important; + } +} + + +@media only screen and (min-width: 992px) and (max-width: 1199px) { + +} + + +/*====================new grid================================*/ +@media only screen and (min-width: 992px) { + .col-md-2-5 + { + width: 20%; + float: left; + } +} + +@media only screen and (max-width: 991px) { + .col-md-2-5 + { + width: 33.33%; + float: left; + } + .col-md-2-5-1-l + { + background: url("../images/dotted-devider-h-o.png") no-repeat; + background-position: left bottom; + } +} + +@media only screen and (max-width: 767px) { + .col-md-2-5 + { + width: 50%; + float: left; + } +} + +@media only screen and (max-width: 540px) { + .col-md-2-5 + { + width: 100%; + float: left; + } +} +.col-md-2-5 +{ + position: relative; + min-height: 1px; + vertical-align: bottom; + /* display: flex; */ + min-height: 228px; +} + +.col-md-2-5-1-l +{ + width: 100%; + min-height: 228px; + height: 100%; +} + +.col-md-2-5-1-withbg +{ + background: url("../images/dotted-devider-h-o.png") no-repeat; + background-position: left bottom; + width: 100%; + min-height: 228px; + height: 100%; +} + +.col-md-2-5-2 +{ + padding-right: 15px; + padding-left: 15px; +} +/*************************************************************/ + +.featured-labs-div +{ + margin-left: 0px !important; + margin-right: 0px !important; + padding-left: 15px !important; +} +.border-bottom-img +{ + /* border-bottom: 2px dotted; + border-top : 0px; + border-left: 0px; + border-right: 0px; + -webkit-border-image: url(../images/dotted-devider-h-o.png) 30 round; Safari 3.1-5 + -o-border-image: url(../images/dotted-devider-h-o.png) 30 round; Opera 11-12.1 + border-image: url(../images/dotted-devider-h-o.png) 30 round; */ +} + +.broad-labs-a:HOVER +{ + text-decoration: none !important; + +} +.col-md-2-5-1-l:HOVER, .col-md-2-5-1-withbg:HOVER +{ + background-color: #e4e4e4 !important; +} + +.border-right-green-dotted +{ + border-right: 2px dotted; + margin-top: 30px; + border-right-color: #678f48; + min-height: 115px; +} +.border-right-green-dotted a{ + padding-left: 1px; + display: block; + margin-bottom: 10px; +} +a:focus +{ + color: #72AB44 !important; +} + +.featured-labs +{ + min-height: 190px !important; +} +/*========================font classes=======================*/ +.text-h2-lightblue +{ + color: #2C99CE; + font-size: 1.8em; + +} + +.text-a-lightgreen +{ + color: #72AB44; + font-size: 1.3em; + text-decoration: underline; +} + +.text-a-lightgreen:HOVER +{ + color: #72AB44 !important; +} + +.text-a-white +{ + color: white; + font-size: 1.4em; + text-decoration: underline; +} + + +.text-h2-lightblue-small +{ + color: #2C99CE; + font-size: 1.5em; +} + +.text-h3-darkblue-bold +{ + color: #3e6389; + font-size: 1.4em; + font-weight: bold; +} + +.text-h3-darkblue +{ + color: #3e6389; + font-size: 1.4em; +} + +.text-normal-gray-small +{ + color: #888; + font-size: 16px; +} + +.text-normal-gray-big +{ + color: #888; + font-size: 30px; +} +#experiment-article-section-1-heading +{ +color: #888; +font-size: 30px; +} +.text-normal-gray-smallest +{ + color: #888; + font-size: 13px; +} + +.featured-labs-icon-text +{ + color: #888; + font-size: 13px; +} + +.featured-labs-main-div +{ + margin-top: -50px; +} + +.nounderline +{ + text-decoration: none; +} + +.nounderline:HOVER +{ + text-decoration: none !important; +} +.text-normal-gray-medium +{ + color: #888; + font-size: 1.4em; +} +/*===========================================================*/ + +.shadow +{ + -webkit-box-shadow: inset 0 8px 6px -6px black; + -moz-box-shadow: inset 0 8px 6px -6px black; + box-shadow: inset 0 8px 6px -6px black; +} + + +/*owl style sheet*/ +#owl-demo .item{ + display: block; + padding: 1px 10px; + margin: 5px; + color: #888; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +.owl-theme .owl-controls .owl-buttons div { + padding: 5px 9px; +} + +.owl-theme .owl-buttons i{ + margin-top: 2px; +} + +//To move navigation buttons outside use these settings: + +#owl-demo .owl-controls .owl-buttons div, #owl-partner-institutions .owl-controls .owl-buttons div{ + position: absolute; +} + +#owl-demo .owl-controls .owl-buttons .owl-prev{ + left: -45px; + top: 55px; + position: absolute; + background: none !important; +} + + #owl-partner-institutions .owl-controls .owl-buttons .owl-prev + { + left: -45px; + top: 20px; + position: absolute; + background: none !important; + } + +#owl-demo .owl-controls .owl-buttons .owl-next{ + right: -45px; + top: 55px; + position: absolute; + background: none !important; +} + +#owl-partner-institutions .owl-controls .owl-buttons .owl-next +{ + right: -45px; + top: 20px; + position: absolute; + background: none !important; +} + +#owl-demo .owl-controls .owl-pagination, #owl-partner-institutions .owl-controls .owl-pagination +{ + display: none; +} + +#owl-aboutus .owl-controls .owl-buttons +{ + display: none; +} + +#owl-aboutus .owl-controls .owl-pagination +{ + text-align: left; +} +#owl-aboutus .owl-controls .owl-page span +{ + background-color: white; + border: 2px solid; + height: 20px; + width: 20px; +} + +#owl-aboutus .owl-controls .owl-page.active span, #owl-aboutus .owl-controls.clickable .owl-page:hover span +{ + background-color: #FF6600; + border: 0px; +} +/*******************/ + + +/*Labs page*/ +.sidebar-col-2 +{ + +} + +.lab-list-col-10 +{ + background: url("../images/devider-blue-v-o.png") repeat-y; + background-position: left top; + margin-bottom: 25px; +} + +.sidebar-a:HOVER, .text-h3-darkblue:HOVER { + color: #ff6600 !important; +} + +.lab-list-row-div +{ + background: url('../images/bottom-line-n.png') no-repeat; + background-position: left bottom; + height: auto; + overflow: hidden; + border-bottom: 1.5px dotted; + border-bottom-color: #888; + padding-bottom: 10px; +} + +.lab-list-row-col-2 +{ + margin-top: 15px; +} + +/**********************************************************************************/ + +.banner-text +{ + position: relative; + top: -59px; + color: white !important; +} + +.banner-text-small +{ + font-size: 1.7em; +} + +.banner-text-medium +{ + font-size: 2.2em; +} + +.banner-text-big +{ + font-size: 2.7em; +} + +.baneer-text-sub-div +{ + position: relative; + float: left +} + +.banner-text-1 +{ + left: 3.7%; +} + +.banner-text-2 +{ + left: 9.6%; +} + +.banner-text-3 +{ + left: 15%; +} + +.banner-text-4 +{ + left:22%; +} + +.banner-caption-div +{ + position: absolute; + top: 140px; + left: 42%; +} + +.banner-caption-text +{ + font-size: 2.0em; + line-height: normal; + color: black; +} + + +/*==========================RESPONSIVE+++++++++++++++++++++++++++++++*/ + +@media only screen and (max-width: 399px) { + + .banner-text-small + { + font-size: 0.8em !important; + } + + .banner-text-medium + { + font-size: 0.9em !important; + } + + .banner-text-big + { + font-size: 1.1em !important; + } + + .banner-text + { + top: -21px; + letter-spacing: -1.5px; + } + + .banner-text-1 + { + left: 1.5%; + } + + .banner-text-2 + { + left: 3.0%; + } + + .banner-text-3 + { + left: 5%; + } + + .banner-text-4 + { + left: 8%; + } + +} + +@media only screen and (min-width: 400px) and (max-width: 500px) { + .banner-text-small + { + font-size: 0.9em !important; + } + + .banner-text-medium + { + font-size: 1.1em !important; + } + + .banner-text-big + { + font-size: 1.2em !important; + } + + .banner-text + { + top: -24px; + letter-spacing: -1px; + } + + .banner-text-2 + { + left: 7.0%; + } + + .banner-text-3 + { + left: 12%; + } + + .banner-text-4 + { + left: 17%; + } +} + +@media only screen and (min-width: 501px) and (max-width: 767px) { + .banner-text-small + { + font-size: 0.9em !important; + } + + .banner-text-medium + { + font-size: 1.2em !important; + } + + .banner-text-big + { + font-size: 1.4em !important; + } + .banner-text + { + top: -30px; + } + + .banner-text-2 + { + left: 7.0%; + } + + .banner-text-3 + { + left: 12%; + } + + .banner-text-4 + { + left: 17%; + } +} + + +@media only screen and (max-width: 349px) { + + .banner-caption-text + { + font-size: 0.5em; + } + +} + +@media only screen and (min-width: 350px) and (max-width: 400px) { + + .banner-caption-text + { + font-size: 0.6em; + } + +} + + +@media only screen and (min-width: 401px) and (max-width: 444px) { + + .banner-caption-text + { + font-size: 0.7em; + } + +} + + +@media only screen and (min-width: 445px) and (max-width: 609px) { + + .banner-caption-text + { + font-size: 0.9em; + } + +} + +@media only screen and (min-width: 610px) and (max-width: 767px) { + + .banner-caption-text + { + font-size: 1.1em; + } + +} + +@media only screen and (max-width: 767px) { + .banner-caption-div + { + position: relative !important; + } +} + +@media only screen and (max-width: 346px) { + .banner-caption-div + { + top: -39px; + left: -32%; + } +} + +@media only screen and (min-width: 347px) and (max-width: 399px) { + .banner-caption-div + { + top: -43px; + left: -22%; + } +} + +@media only screen and (min-width: 400px) and (max-width: 444px) { + .banner-caption-div + { + top: -50px; + left: -31%; + } +} + +@media only screen and (min-width: 445px) and (max-width: 500px) { + .banner-caption-div + { + top: -57px; + left: -23%; + } +} + +@media only screen and (min-width: 501px) and (max-width: 569px) { + .banner-caption-div + { + top: -65px; + left: -30%; + } +} + +@media only screen and (min-width: 570px) and (max-width: 639px) { + .banner-caption-div + { + top: -74px; + left: -22%; + } +} + +@media only screen and (min-width: 640px) and (max-width: 709px) { + .banner-caption-div + { + top: -83px; + left: -16%; + } +} + +@media only screen and (min-width: 710px) and (max-width: 767px) { + .banner-caption-div + { + top: -92px; + left: -11%; + } +} + + +@media only screen and (min-width: 768px) and (max-width: 991px) { + + .banner-text-small + { + font-size: 1.2em !important; + } + + .banner-text-medium + { + font-size: 1.7em !important; + } + + .banner-text-big + { + font-size: 2.0em !important; + } + + .banner-text + { + top: -40px; + } + + .banner-text-2 + { + left: 7.0%; + } + + .banner-text-3 + { + left: 12%; + } + + .banner-text-4 + { + left: 17%; + } + + .banner-caption-text + { + font-size: 1.5em; + } + .banner-caption-div + { + top: 99px; + } +} + +@media only screen and (min-width: 992px) and (max-width: 1100px) { + + .banner-text + { + top: -52px; + } +} + +@media only screen and (min-width: 992px) and (max-width: 1150px) { + + .banner-text-2 + { + left: 7.0%; + } + + .banner-text-3 + { + left: 9%; + } + + .banner-text-4 + { + left: 12%; + } + + .banner-caption-text + { + font-size: 1.6em; + } + .banner-caption-div + { + top: 133px; + } +} + +@media only screen and (min-width: 1150px) and (max-width: 1275px) { + + .banner-text-2 + { + left: 8.3%; + } + .banner-text-3 + { + left: 12%; + } + + .banner-text-4 + { + left: 17%; + } + + .banner-caption-text + { + font-size: 1.8em; + } +} + +/* Rules to fix the footer at the bottom of the page */ +/*html{ height:100%; } +body{ min-height:100%; padding:0; margin:0; position:relative; } + +body::after{ content:''; display:block; height:100px; }*/ + +footer{ + width:100%; +} + +/* To justify the paragraph text */ +p { + text-align: justify; +} + +/* Styles for feedback button in feedback section */ +#feedback-btn { + color: #2C99CE !important; + border-color: #2C99CE !important; +} + +#feedback-btn-link { + display: block; + margin: auto; + width: 17%; +} + +#feedback-btn-link:hover { + text-decoration: inherit !important; + color: inherit !important; +} + +/*Styles for list*/ +ul li span, ol li span { + font-size: 1.3em +} + +ul li, ol li{ + font-size: 1.1em +} + +/*Styles for progress bars*/ +.progress { + font-weight: bold; +} + +.progress-bar-green { + background-color: #008000; +} + +.progress-bar-blue { + background-color: #130e71; +} + +.progress-bar-red { + background-color: #d9534f; +} + +#progress-bar-header { + background-color: #fff; + border-radius: 6px; + padding: 22px; + box-shadow: 0 0 4px 0 rgba(17,22,26,.16),0 2px 4px 0 rgba(17,22,26,.08),0 4px 8px 0 rgba(17,22,26,.08); +} diff --git a/src/lab/style.css b/src/lab/style.css new file mode 100644 index 000000000..e94d8acc7 --- /dev/null +++ b/src/lab/style.css @@ -0,0 +1,1470 @@ +/* +Theme Name: Vlabs +Theme URI: http://www.vlabs.ac.in +Author: Vlabs.co.in +Author URI: http://www.vlabs.ac.in +Description: The theme to accompany the profile site for vlabs.ac.in +Version: 1.0 +*/ +@import url(https://fonts.googleapis.com/css?family=Raleway:400,300,700,500,600); +body { + overflow-x: hidden; + font-family:'Raleway' !important; + min-height: 100%; +} + +html { + height: 100%; +} + +p { + font-size: 16px; +} + +/*** Calendar **********************/ +.content .container-fluid div.calender { position: relative; } + +.container-fluid .calender table { +cursor:pointer; +border:1px solid #ccc; +font-size: 11px; +color: #000; +background: #fff; +font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif; +} + +/* Styles for feedback button in feedback section */ +#feedback-btn { + color: #2C99CE !important; + border-color: #2C99CE !important; +} + +#feedback-btn-link { + display: block; + margin: auto; + width: 17%; +} + +#feedback-btn-link:hover { + text-decoration: inherit !important; + color: inherit !important; +} + +.container-fluid .calender .nav { +background:#f5f5f5; +} + +.container-fluid .calender thead .title { +font-weight: bold; +text-align: center; +background: #dedede; +color: #000; +padding: 2px 0 3px 0; +} + +.container-fluid .calender thead .headrow { +background: #f5f5f5; +color: #444; +font-weight:bold; +} + +.container-fluid .calender thead .daynames { +background: #fff; +color:#333; +font-weight:bold; +} + +.container-fluid .calender thead .name { +border-bottom: 1px dotted #ccc; +padding: 2px; +text-align: center; +color: #000; +} + +.container-fluid .calender thead .weekend { +color: #666; +} + +.container-fluid .calender thead .hilite { +background-color: #444; +color: #fff; +padding: 1px; +} + +.container-fluid .calender thead .active { +background-color: #d12f19; +color:#fff; +padding: 2px 0px 0px 2px; +} + + +.container-fluid .calender tbody .day { +width:1.8em; +color: #222; +text-align: right; +padding: 2px 2px 2px 2px; +} +.container-fluid .calender tbody .day.othermonth { +font-size: 80%; +color: #bbb; +} +.container-fluid .calender tbody .day.othermonth.oweekend { +color: #fbb; +} + +.container-fluid .calender table .wn { +padding: 2px 2px 2px 2px; +border-right: 1px solid #000; +background: #666; +} + +.container-fluid .calender tbody .rowhilite td { +background: #FFF1AF; +} + +.container-fluid .calender tbody .rowhilite td.wn { +background: #FFF1AF; +} + +.container-fluid .calender tbody td.hilite { +padding: 1px 1px 1px 1px; +background:#444 !important; +color:#fff !important; +} + +.container-fluid .calender tbody td.active { +color:#fff; +background: #529214 !important; +padding: 2px 2px 0px 2px; +} + +.container-fluid .calender tbody td.selected { +font-weight: bold; +border: 1px solid #888; +padding: 1px 1px 1px 1px; +background: #f5f5f5 !important; +color: #222 !important; +} + +.container-fluid .calender tbody td.weekend { +color: #666; +} + +.container-fluid .calender tbody td.today { +font-weight: bold; +color: #529214; +background:#D9EFC2; +} + +.container-fluid .calender tbody .disabled { color: #999; } + +.container-fluid .calender tbody .emptycell { +visibility: hidden; +} + +.container-fluid .calender tbody .emptyrow { +display: none; +} + +.container-fluid .calender tfoot .footrow { +text-align: center; +background: #556; +color: #fff; +} + +.container-fluid .calender tfoot .ttip { +background: #222; +color: #fff; +font-size:10px; +border-top: 1px solid #dedede; +padding: 3px; +} + +.container-fluid .calender tfoot .hilite { +background: #aaf; +border: 1px solid #04f; +color: #000; +padding: 1px; +} + +.container-fluid .calender tfoot .active { +background: #77c; +padding: 2px 0px 0px 2px; +} + +.container-fluid .calender .combo { +position: absolute; +display: none; +top: 0px; +left: 0px; +width: 4em; +border: 1px solid #ccc; +background: #f5f5f5; +color: #222; +font-size: 90%; +z-index: 100; +} + +.container-fluid .calender .combo .label, +.container-fluid .calender .combo .label-IEfix { +text-align: center; +padding: 1px; +} + +.container-fluid .calender .combo .label-IEfix { +width: 4em; +} + +.container-fluid .calender .combo .hilite { +background: #444; +color:#fff; +} + +.container-fluid .calender .combo .active { +border-top: 1px solid #999; +border-bottom: 1px solid #999; +background: #dedede; +font-weight: bold; +} +.container-fluid form li div label +{ + clear:both; + color:#444; + display:block; + font-size:9px; + line-height:9px; + margin:0; + padding-top:3px; +} + +.container-fluid form li span label +{ + clear:both; + color:#444; + display:block; + font-size:9px; + line-height:9px; + margin:0; + padding-top:3px; +} +.container-fluid form li .datepicker +{ + cursor:pointer !important; + float:left; + height:16px; + margin:.1em 5px 0 0; + padding:0; + width:16px; +} +.container-fluid input.text +{ + background:#fff url(../../../images/shadow.gif) repeat-x top; + border-bottom:1px solid #ddd; + border-left:1px solid #c3c3c3; + border-right:1px solid #c3c3c3; + border-top:1px solid #7c7c7c; + color:#333; + font-size:100%; + margin:0; + padding:2px 0; +} +p.small { + font-size: 16px; +} + + +.container-fluid form ul +{ + font-size:200%; + list-style-type:none; + margin:0; + padding:0; + width:100%; +} + +.container-fluid form li +{ + display:block; + margin:0; + padding:4px 5px 2px 9px; + position:relative; +} +a, +a:hover, +a:focus, +a:active, +a.active { + outline: 0; +} +@media(min-width:768px) { + .navbar-fixed-top { + padding: 25px 0; + -webkit-transition: padding .3s; + -moz-transition: padding .3s; + transition: padding .3s; + } + + .navbar-fixed-top .navbar-brand { + font-size: 2em; + -webkit-transition: all .3s; + -moz-transition: all .3s; + transition: all .3s; + } + + .navbar-fixed-top.navbar-shrink { + padding: 10px 0; + } + + .navbar-fixed-top.navbar-shrink .navbar-brand { + font-size: 1.5em; + } +} + +.navbar a:focus { + outline: 0; +} + +.navbar .navbar-nav li a:focus { + outline: 0; +} + +.navbar-default, +.navbar-inverse { + border: 0; +} +.footer-div +{ +margin-top:120px; +} + + +#top { + min-height: 100vh; + display: grid; + grid-template-rows: max-content auto max-content; +} + + +#footer { + color: #eee; + font-size: 14px; + width: 100%; + bottom: 0; +} + +#footer .footer-top { + background: #111; + padding: 15px 0 0px 0; +} + +#footer .row { + padding-bottom: 2rem; +} + +#footer .footer-top .footer-info h3 { + font-size: 34px; + margin: 0 0 20px 0; + padding: 2px 0 2px 10px; + line-height: 1; + font-family: "Open Sans", sans-serif; + font-weight: 700; + letter-spacing: 3px; + border-left: 4px solid #18d26e; +} + +#footer .footer-top p { + font-size: 1.4rem; + margin-bottom: 0; + color: #eee; +} + +#footer .footer-top .social-links a { + font-size: 18px; + display: inline-block; + background: #333; + color: #eee; + line-height: 1; + padding: 8px 0; + margin-right: 4px; + border-radius: 50%; + text-align: center; + width: 36px; + height: 36px; + transition: 0.3s; +} + +#footer .footer-top .social-links a:hover { + background: #3cd6ed; + color: #fff; +} + +#footer .footer-top h4 { + font-size: 14px; + color: #fff; + position: relative; + padding-bottom: 12px; +} + +#footer .footer-top h4::before, #footer .footer-top h4::after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + height: 2px; +} + +#footer .footer-top h4::before { + right: 0; + background: #555; +} + +#footer .footer-top h4::after { + background: #3EC1D5; + width: 60px; +} +#footer .footer-top i { + color:#fff; +} + +#footer .footer-top a { + color:#fff; +} + + + + +/*******************************************************************************/ +/*****************************CUSTOME STYLE*************************************/ +/*******************************************************************************/ + +.search-textbox +{ + background: url("../images/search-box.png") no-repeat; + border: 0 none; + color: #666666; + float: left; + font-family: 'Raleway'; + font-size: 15px; + height: 36px; + margin: 0; + padding-left: 15px; + transition: background 0.3s ease-in-out 0s; + width: 220px; + +} + +.search-button +{ + background: url("../images/search.png") no-repeat; + cursor: pointer; + height: 36px; + text-indent: -99999em; + width: 36px; + border: 0px; + +} +.main-logo-a +{ + height: auto; + overflow: visible; + margin-left: 0px !important; + padding-bottom: 10px !important; + padding-top: 10px !important; +} + +.menu-a +{ + font-size: 14px !important; + font-family: 'Raleway' !important; + color: #2C99CD !important; + padding-left: 10px !important; + padding-bottom: 5px !important; + padding-top: 5px !important; + padding-right: 10px !important; + +} + +.menu-a-active +{ + color: white !important; +} + +.menu-li +{ + /* float: right; */ + border-radius: 10px; + margin-left: 20px; + margin-right: 20px; +} + +.menu-li:HOVER +{ + background-color: #77BB41 !important; +} + +.menu-a:HOVER +{ + color: white !important; +} +.menu-li-active +{ + background-color: #77BB41; +} + +.menu-div +{ + /* margin-top: 30px; */ + +} + +.menu-ul +{ + margin-top: 45px; +} + +@media only screen and (max-width: 375px) { + .featured-labs-experiment-div + { + text-align: center; + } + .featured-labs-experiment-icon + { + float: left; + min-width: 78px; + } +} + + +@media only screen and (min-width: 401px) { + + .custom-toggle + { + margin-bottom: 0px !important; + margin-top: 27px !important; + } +} + +@media only screen and (max-width: 400px) { + + .main-logo-a + { + width: 60%; + } + + .custom-toggle + { + margin-bottom: 0px !important; + margin-top: 12% !important; + } + + +/* .menu-div + { + margin-top: 30px !important; + } */ + +} + + + +@media only screen and (min-width: 401px) and (max-width: 523px) { + +/* .menu-div + { + margin-top: 30px !important; + } */ +} + +@media only screen and (max-width: 496px) { + + .featured-labs-div + { + background: none !important; + } +} + +@media only screen and (max-width: 540px) { + .broad-labs-empty-div + { + display: none; + } + .border-right-green-dotted + { + margin-top: 60px !important; + } +} + +@media only screen and (min-width: 401px) and (max-width: 767px) { + + .main-logo + { + width: 70%; + } +} + +@media only screen and (max-width: 767px) { + + .menu-ul + { + margin-top: 0px !important; + } + + .menu-li-active + { + background-color: white !important; + } + + .menu-a-active + { + color: #2C99CE !important; + } + + .search-ul + { + display: none !important; + } + + + +} + +@media only screen and (min-width: 768px) and (max-width: 991px) { + .menu-a + { + font-size: 1.4em !important; + } + + .main-logo + { + width: 70%; + } + + .banner-text-small + { + font-size: 1.2em !important; + } + + .banner-text-medium + { + font-size: 1.7em !important; + } + + .banner-text-big + { + font-size: 2.0em !important; + } + +} + +@media only screen and (max-width: 991px) { + .menu-ul + { + margin-top: 30px; + } + + .search-textbox + { + width: 150px; + font-size: 0.9em; + } + + .menu-li + { + margin-left: 10px; + margin-right: 10px; + } + .aboutus-col-8 + { + padding-right: 15px !important; + } + .footer-div + { + background-size: cover !important; + } + + .lab-list-col-10 + { + /* background: none !important; */ + overflow:hidden; + } + + .featured-labs-main-div + { + margin-top: -35px !important; + } +} + + +@media only screen and (min-width: 992px) and (max-width: 1199px) { + +} + + +/*====================new grid================================*/ +@media only screen and (min-width: 992px) { + .col-md-2-5 + { + width: 20%; + float: left; + } +} + +@media only screen and (max-width: 991px) { + .col-md-2-5 + { + width: 33.33%; + float: left; + } + .col-md-2-5-1-l + { + background: url("../images/dotted-devider-h-o.png") no-repeat; + background-position: left bottom; + } +} + +@media only screen and (max-width: 767px) { + .col-md-2-5 + { + width: 50%; + float: left; + } +} + +@media only screen and (max-width: 540px) { + .col-md-2-5 + { + width: 100%; + float: left; + } +} +.col-md-2-5 +{ + position: relative; + min-height: 1px; + vertical-align: bottom; + /* display: flex; */ + min-height: 228px; +} + +.col-md-2-5-1-l +{ + width: 100%; + min-height: 228px; + height: 100%; +} + +.col-md-2-5-1-withbg +{ + background: url("../images/dotted-devider-h-o.png") no-repeat; + background-position: left bottom; + width: 100%; + min-height: 228px; + height: 100%; +} + +.col-md-2-5-2 +{ + padding-right: 15px; + padding-left: 15px; +} +/*************************************************************/ + +.featured-labs-div +{ + margin-left: 0px !important; + margin-right: 0px !important; + padding-left: 15px !important; +} +.border-bottom-img +{ + /* border-bottom: 2px dotted; + border-top : 0px; + border-left: 0px; + border-right: 0px; + -webkit-border-image: url(../images/dotted-devider-h-o.png) 30 round; Safari 3.1-5 + -o-border-image: url(../images/dotted-devider-h-o.png) 30 round; Opera 11-12.1 + border-image: url(../images/dotted-devider-h-o.png) 30 round; */ +} + +.broad-labs-a:HOVER +{ + text-decoration: none !important; + +} +.col-md-2-5-1-l:HOVER, .col-md-2-5-1-withbg:HOVER +{ + background-color: #e4e4e4 !important; +} + +.border-right-green-dotted +{ + border-right: 2px dotted; + margin-top: 30px; + border-right-color: #678f48; + min-height: 115px; +} +.border-right-green-dotted a{ + padding-left: 10px; + display: block; + margin-bottom: 10px; +} +a:focus +{ + color: #72AB44 !important; +} + +.featured-labs +{ + min-height: 190px !important; +} +/*========================font classes=======================*/ +.text-h2-lightblue +{ + color: #2C99CE; + font-size: 1.8em; + margin-top: 5px; + margin-bottom:20px; +} +.text-h1-lightblue +{ + color: #2C99CE; + font-size: 1.8em; + font-weight: bold; + text-align : center; + +} +.text-a-lightgreen +{ + color: #72AB44; + font-size: 1.3em; + text-decoration: underline; +} + +.text-a-lightgreen:HOVER +{ + color: #72AB44 !important; +} + +.text-a-white +{ + color: white; + font-size: 1.4em; + text-decoration: underline; +} + + +.text-h2-lightblue-small +{ + color: #2C99CE; + font-size: 1.5em; +} + +.text-h3-darkblue-bold +{ + color: #3e6389; + font-size: 1.4em; + font-weight: bold; +} + +.text-h3-darkblue +{ + color: #3e6389; + font-size: 1.4em; +} + +.text-normal-gray-small +{ + color: #888; + font-size: 16px; +} + +.text-normal-gray-big +{ + color: #888; + font-size: 30px; +} +#experiment-article-section-1-heading +{ +color: #888; +font-size: 30px; +} +.text-normal-gray-smallest +{ + color: #888; + font-size: 13px; +} + +.featured-labs-icon-text +{ + color: #888; + font-size: 13px; +} + +.featured-labs-main-div +{ + margin-top: -50px; +} + +.nounderline +{ + text-decoration: none; +} + +.nounderline:HOVER +{ + text-decoration: none !important; +} +.text-normal-gray-medium +{ + color: #888; + font-size: 1.4em; +} +/*===========================================================*/ + +.shadow +{ + -webkit-box-shadow: inset 0 8px 6px -6px black; + -moz-box-shadow: inset 0 8px 6px -6px black; + box-shadow: inset 0 8px 6px -6px black; +} + + +/*owl style sheet*/ +#owl-demo .item{ + display: block; + padding: 1px 10px; + margin: 5px; + color: #888; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} +.owl-theme .owl-controls .owl-buttons div { + padding: 5px 9px; +} + +.owl-theme .owl-buttons i{ + margin-top: 2px; +} + +//To move navigation buttons outside use these settings: + +#owl-demo .owl-controls .owl-buttons div, #owl-partner-institutions .owl-controls .owl-buttons div{ + position: absolute; +} + +#owl-demo .owl-controls .owl-buttons .owl-prev{ + left: -45px; + top: 55px; + position: absolute; + background: none !important; +} + + #owl-partner-institutions .owl-controls .owl-buttons .owl-prev + { + left: -45px; + top: 20px; + position: absolute; + background: none !important; + } + +#owl-demo .owl-controls .owl-buttons .owl-next{ + right: -45px; + top: 55px; + position: absolute; + background: none !important; +} + +#owl-partner-institutions .owl-controls .owl-buttons .owl-next +{ + right: -45px; + top: 20px; + position: absolute; + background: none !important; +} + +#owl-demo .owl-controls .owl-pagination, #owl-partner-institutions .owl-controls .owl-pagination +{ + display: none; +} + +#owl-aboutus .owl-controls .owl-buttons +{ + display: none; +} + +#owl-aboutus .owl-controls .owl-pagination +{ + text-align: left; +} +#owl-aboutus .owl-controls .owl-page span +{ + background-color: white; + border: 2px solid; + height: 20px; + width: 20px; +} + +#owl-aboutus .owl-controls .owl-page.active span, #owl-aboutus .owl-controls.clickable .owl-page:hover span +{ + background-color: #FF6600; + border: 0px; +} +/*******************/ + + +/*Labs page*/ +.sidebar-col-2 +{ + margin-bottom : 15px; +} + +.lab-list-col-10 +{ + background: url("../images/devider-blue-v-o.png") repeat-y; + background-position: left top; + margin-bottom: 15px; +} + +.sidebar-a:HOVER, .text-h3-darkblue:HOVER { + color: #ff6600 !important; + } +h3 +{ + line-height: 32px; +} +h1 +{ + line-height:50px; + font-family: 'Montserrat', sans-serif; +} +h2 +{ + margin-bottom: 15px ; +} + +.lab-list-row-div +{ + background: url('../images/bottom-line-n.png') no-repeat; + background-position: left bottom; + height: auto; + overflow: hidden; + border-bottom: 1.5px dotted; + border-bottom-color: #888; + padding-bottom: 10px; +} + +.lab-list-row-col-2 +{ + margin-top: 15px; +} + +/**********************************************************************************/ + +.banner-text +{ + position: relative; + top: -59px; + color: white !important; +} + +.banner-text-small +{ + font-size: 1.7em; +} + +.banner-text-medium +{ + font-size: 2.2em; +} + +.banner-text-big +{ + font-size: 2.7em; +} + +.baneer-text-sub-div +{ + position: relative; + float: left +} + +.banner-text-1 +{ + left: 3.7%; +} + +.banner-text-2 +{ + left: 9.6%; +} + +.banner-text-3 +{ + left: 15%; +} + +.banner-text-4 +{ + left:22%; +} + +.banner-caption-div +{ + position: absolute; + top: 140px; + left: 42%; +} + +.banner-caption-text +{ + font-size: 2.0em; + line-height: normal; + color: black; +} + + +/*==========================RESPONSIVE+++++++++++++++++++++++++++++++*/ + +@media only screen and (max-width: 399px) { + + .banner-text-small + { + font-size: 0.8em !important; + } + + .banner-text-medium + { + font-size: 0.9em !important; + } + + .banner-text-big + { + font-size: 1.1em !important; + } + + .banner-text + { + top: -21px; + letter-spacing: -1.5px; + } + + .banner-text-1 + { + left: 1.5%; + } + + .banner-text-2 + { + left: 3.0%; + } + + .banner-text-3 + { + left: 5%; + } + + .banner-text-4 + { + left: 8%; + } + +} + +@media only screen and (min-width: 400px) and (max-width: 500px) { + .banner-text-small + { + font-size: 0.9em !important; + } + + .banner-text-medium + { + font-size: 1.1em !important; + } + + .banner-text-big + { + font-size: 1.2em !important; + } + + .banner-text + { + top: -24px; + letter-spacing: -1px; + } + + .banner-text-2 + { + left: 7.0%; + } + + .banner-text-3 + { + left: 12%; + } + + .banner-text-4 + { + left: 17%; + } +} + +@media only screen and (min-width: 501px) and (max-width: 767px) { + .banner-text-small + { + font-size: 0.9em !important; + } + + .banner-text-medium + { + font-size: 1.2em !important; + } + + .banner-text-big + { + font-size: 1.4em !important; + } + .banner-text + { + top: -30px; + } + + .banner-text-2 + { + left: 7.0%; + } + + .banner-text-3 + { + left: 12%; + } + + .banner-text-4 + { + left: 17%; + } +} + + +@media only screen and (max-width: 349px) { + + .banner-caption-text + { + font-size: 0.5em; + } + +} + +@media only screen and (min-width: 350px) and (max-width: 400px) { + + .banner-caption-text + { + font-size: 0.6em; + } + +} + + +@media only screen and (min-width: 401px) and (max-width: 444px) { + + .banner-caption-text + { + font-size: 0.7em; + } + +} + + +@media only screen and (min-width: 445px) and (max-width: 609px) { + + .banner-caption-text + { + font-size: 0.9em; + } + +} + +@media only screen and (min-width: 610px) and (max-width: 767px) { + + .banner-caption-text + { + font-size: 1.1em; + } + +} + +@media only screen and (max-width: 767px) { + .banner-caption-div + { + position: relative !important; + } +} + +@media only screen and (max-width: 346px) { + .banner-caption-div + { + top: -39px; + left: -32%; + } +} + +@media only screen and (min-width: 347px) and (max-width: 399px) { + .banner-caption-div + { + top: -43px; + left: -22%; + } +} + +@media only screen and (min-width: 400px) and (max-width: 444px) { + .banner-caption-div + { + top: -50px; + left: -31%; + } +} + +@media only screen and (min-width: 445px) and (max-width: 500px) { + .banner-caption-div + { + top: -57px; + left: -23%; + } +} + +@media only screen and (min-width: 501px) and (max-width: 569px) { + .banner-caption-div + { + top: -65px; + left: -30%; + } +} + +@media only screen and (min-width: 570px) and (max-width: 639px) { + .banner-caption-div + { + top: -74px; + left: -22%; + } +} + +@media only screen and (min-width: 640px) and (max-width: 709px) { + .banner-caption-div + { + top: -83px; + left: -16%; + } +} + +@media only screen and (min-width: 710px) and (max-width: 767px) { + .banner-caption-div + { + top: -92px; + left: -11%; + } +} + + +@media only screen and (min-width: 768px) and (max-width: 991px) { + + .banner-text-small + { + font-size: 1.2em !important; + } + + .banner-text-medium + { + font-size: 1.7em !important; + } + + .banner-text-big + { + font-size: 2.0em !important; + } + + .banner-text + { + top: -40px; + } + + .banner-text-2 + { + left: 7.0%; + } + + .banner-text-3 + { + left: 12%; + } + + .banner-text-4 + { + left: 17%; + } + + .banner-caption-text + { + font-size: 1.5em; + } + .banner-caption-div + { + top: 99px; + } +} + +@media only screen and (min-width: 992px) and (max-width: 1100px) { + + .banner-text + { + top: -52px; + } +} + +@media only screen and (min-width: 992px) and (max-width: 1150px) { + + .banner-text-2 + { + left: 7.0%; + } + + .banner-text-3 + { + left: 9%; + } + + .banner-text-4 + { + left: 12%; + } + + .banner-caption-text + { + font-size: 1.6em; + } + .banner-caption-div + { + top: 133px; + } +} + +@media only screen and (min-width: 1150px) and (max-width: 1275px) { + + .banner-text-2 + { + left: 8.3%; + } + .banner-text-3 + { + left: 12%; + } + + .banner-text-4 + { + left: 17%; + } + + .banner-caption-text + { + font-size: 1.8em; + } +} \ No newline at end of file diff --git a/src/lab/target_audience.html b/src/lab/target_audience.html deleted file mode 100755 index e5038d8aa..000000000 --- a/src/lab/target_audience.html +++ /dev/null @@ -1,215 +0,0 @@ - - - - - - - - - - Welcome to Virtual Labs - A MHRD Govt of india Initiative - - - - - - - - - - - - - - - - - - -
-
- - -
- -
-
-
-
-
-
- - - -
-

Computer Science & Engineering

- -
- - -
- - -

Computer Graphics

-

- The experiments are targeted at students with proficiency in writing programs in any preferred programming language. Knowledge of matrix theory and linear algebra is required. -

-
-
-
- - - - - -
- - - -
- - - - - - - - - - - - - - - - - - - - \ No newline at end of file