Skip to content

Instantly share code, notes, and snippets.

View leefsmp's full-sized avatar

Philippe Leefsma leefsmp

View GitHub Profile
@leefsmp
leefsmp / vreffects.js
Last active July 27, 2017 01:24
WebGL VR Effects with three.js
/////////////////////////////////////////////////////////////////////////
// Copyright (c) Autodesk, Inc. All rights reserved
// Written by Philippe Leefsma 2014 - ADN/Developer Technical Services
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warranty and
// restricted rights notice below appear in all supporting
// documentation.
@leefsmp
leefsmp / viewer-directive-demo.html
Last active June 1, 2018 14:34
AngularJs viewer directive demo
<!--///////////////////////////////////////////////////////////////////////////
// Copyright (c) Autodesk, Inc. All rights reserved
// Written by Philippe Leefsma 2015 - ADN/Developer Technical Services
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited warranty and
// restricted rights notice below appear in all supporting
// documentation.
@leefsmp
leefsmp / carousel.html
Created February 19, 2015 08:40
Bootstrap Angular UI - Carousel Demo
@leefsmp
leefsmp / test
Created March 26, 2015 07:34
test
/////////////////////////////////////////////////////////////////////
// The Angular App
//
/////////////////////////////////////////////////////////////////////
var app = angular.module('Autodesk.ADN.Demo.Storage.App',
[
'js-data',
'mgcrea.ngStrap',
'mgcrea.ngStrap.tooltip',
'mgcrea.ngStrap.helpers.parseOptions'
@leefsmp
leefsmp / DeLorean.js
Last active August 29, 2015 14:18
A React + DeLorean.js quick demo
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>DeLorean ADN Demo</title>
</head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css">
<style>
@leefsmp
leefsmp / Explorer.js
Last active August 29, 2015 14:19
Explorer viewer extension
/////////////////////////////////////////////////////////////////////
// Explorer viewer extension
// by Philippe Leefsma, March 2015
//
/////////////////////////////////////////////////////////////////////
AutodeskNamespace("Autodesk.ADN.Viewing.Extension");
Autodesk.ADN.Viewing.Extension.Explorer = function (viewer, options) {
///////////////////////////////////////////////////////////////////////////////
// Autodesk.ADN.Viewing.Extension.UIComponent
// by Philippe Leefsma, May 2015
//
///////////////////////////////////////////////////////////////////////////////
AutodeskNamespace("Autodesk.ADN.Viewing.Extension");
Autodesk.ADN.Viewing.Extension.UIComponent = function (viewer, options) {
Autodesk.Viewing.Extension.call(this, viewer, options);
@leefsmp
leefsmp / ScreenShotManager.js
Last active August 29, 2015 14:21
ScreenShotManager Viewer Extension, by Philippe Leefsma
///////////////////////////////////////////////////////////////////////////////
// Autodesk.ADN.Viewing.Extension.ScreenShotManager
// by Philippe Leefsma, May 2015
//
///////////////////////////////////////////////////////////////////////////////
AutodeskNamespace("Autodesk.ADN.Viewing.Extension");
Autodesk.ADN.Viewing.Extension.ScreenShotManager = function (viewer, options) {
Autodesk.Viewing.Extension.call(this, viewer, options);
@leefsmp
leefsmp / MetaProperties.js
Last active August 29, 2015 14:22
Meta Properties Panel Extension
///////////////////////////////////////////////////////////////////////////////
// Meta Properties Panel Extension
// by Philippe Leefsma, May 2015
//
///////////////////////////////////////////////////////////////////////////////
AutodeskNamespace("Autodesk.ADN.Viewing.Extension");
Autodesk.ADN.Viewing.Extension.MetaProperties = function (viewer, options) {