Difference between revisions of "Demo:3D"

From PKC
Jump to navigation Jump to search
Line 1: Line 1:
The following section shows a rendering canvas that uses [[Three.js]] as its 3D engine. The code is embedded in the MediaWiki:Common.js page, which can be directly accessed here.
The following section shows a rendering canvas that uses [[Three.js]] as its 3D engine. The code is embedded in the [[MediaWiki:Common.js]] page. It loads two other JavaScript files: [[MediaWiki.ArrayCamera.js]] and [[MediaWiki:Animate.js]].
 


=Canvas Division=
=Canvas Division=

Revision as of 09:07, 29 January 2022

The following section shows a rendering canvas that uses Three.js as its 3D engine. The code is embedded in the MediaWiki:Common.js page. It loads two other JavaScript files: MediaWiki.ArrayCamera.js and MediaWiki:Animate.js.


Canvas Division

The following section should show a 3D animated canvas


Cube.json File

https://pkc.pub/images/f/f1/Cube.json