plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Public-Domain HTML 3D Library

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Programming
View previous topic :: View next topic  
Author Message
zalo
Member
Member


Joined: 24 Nov 2013
Posts: 130

PostPosted: 24/07/2015 20:56    Post subject: Public-Domain HTML 3D Library Reply with quote

Public-Domain HTML 3D Library by Peter Occil

A public domain JavaScript library for easing the development of HTML 3D applications
Introduction
This tip will introduce a new open-source JavaScript library that I wrote, called the HTML 3D Library.
This library contains classes and utility methods to ease the development of HTML 3D applications, such as Web sites, in browsers that support 3D drawing using the HTML5 Canvas.
The library differs from many others because this one is in the public domain, so no license is required to use it.
This tip will conține information on how to use the HTML 3D library, an overview of its features, and an example of a simple 3D-enabled Web page.

How to Use
1. Download the HTML 3D library.
http://www.datafilehost.com/d/1d1ed0c1
2. Extract the file "glutil_min.js", and write the following code in every HTML page where you will use the library.
Public-Domain HTML 3D Library Public-Domain HTML 3D Library
3. Include an HTML 3D canvas somewhere on the Web page, since drawing 3D objects requires a 3D canvas. You may set its width and height. You should also give it an ID so you can refer to it more easily in your JavaScript code, as shown in this example.
Public-Domain HTML 3D Library Public-Domain HTML 3D Library
4. To use the HTML 3D library in JavaScript, either add the JavaScript code to the bottom of the page or use an event listener, as in this example:
Public-Domain HTML 3D Library Public-Domain HTML 3D Library

Read more on:
http://www.codeproject.com/Tips/896839/Public-Domain-HTML-ThreeD-Library
and on
https://github.com/peteroupc/html3dutil
If you have any problems with this library, you can report them at the GitHub issues page.
https://github.com/peteroupc/html3dutil/issues
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Programming All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro