JSFiddle

  • TestFiddle

    No-Library (pure JS), HTML, CSS, JavaScript

      
     verold.load('body', '//commondatastorage.googleapis.com/s.vrld.co/p/546cfee8f40f9d4540000a9c/1/application.json');
      
      
  • Client side upload to verold API

    No-Library (pure JS), HTML, CSS, JavaScript

    var form = document.getElementById('upload_form'),
        apiKey = document.getElementById('api_key'),
        title = document.getElementById('title'),
        description = document.getElementById('description'),
        model = document.getElementById ...
  • Dungeon Generator Example #1 is the latest revision

    jQuery 1.9.1, HTML, CSS, JavaScript

    var DemoApplication = VAPI.VeroldApp.extend({
        defaultSceneLoaded: function (scene) {
            var models = scene.getAllObjects({ 'filter': { 'model': true } }),
                lookAt,
                mapWidth = 35,
                mapHeight = 35 ...
  • CannonApp: Dynamic object creation example

    jQuery 1.9.1, HTML, CSS, JavaScript

    var DemoApplication = VAPI.CannonApp.extend({
        defaultSceneLoaded: function (scene) {
            this.asset = this.getAssetRegistry().getAsset('519520012ad775da110003fb');
            this.camera = new THREE.PerspectiveCamera(70 ...
  • Another CannonApp Example #4 is the latest revision

    jQuery 1.9.1, HTML, CSS, JavaScript

    // See https://github.com/gentooist/verold-cannon-app for more information on VAPI.CannonApp
    
    var DemoApplication = VAPI.CannonApp.extend({
        defaultSceneLoaded: function (scene ...
  • Another CannonApp Example

    jQuery 1.9.1, HTML, CSS, JavaScript

    // See https://github.com/gentooist/verold-cannon-app for more information on VAPI.CannonApp
    
    var DemoApplication = VAPI.CannonApp.extend({
        defaultSceneLoaded: function (scene ...
  • CannonApp #7 is the latest revision

    jQuery 1.9.1, HTML, CSS, JavaScript

    // See https://github.com/gentooist/verold-cannon-app for more information on VAPI.CannonApp
    
    var DemoApplication = VAPI.CannonApp.extend({
        defaultSceneLoaded: function (scene ...
  • Simple Verold Fiddle

    jQuery 1.9.1, HTML, CSS, JavaScript

    var DemoApplication = VAPI.VeroldApp.extend({
        defaultSceneLoaded: function (scene) {
            var models = scene.getAllObjects({
                'filter': {
                    'model': true
                }
            }),
                lookAt;
    
            this.model = models[Object ...
  • Change material on click

    jQuery 1.9.1, HTML, CSS, JavaScript

    var mat1 = '512529e90de4072069000052',
        mat2 = '518bdb2dd493d00200000020';
    
    var DemoApplication = VAPI.VeroldApp.extend({
        defaultSceneLoaded: function (scene) {
            var models = scene.getAllObjects({
                'filter': {
                    'model': true ...
  • Cannon.JS + Verold Demo #14 is the latest revision

    jQuery 1.9.1, HTML, CSS, JavaScript

    /*
    The MIT License (MIT)
    
    Copyright (c) 2013 Verold Inc.
    
    Permission is hereby granted, free of charge, to any person obtaining ...