Skip to content
Proyek

Tentang

JavaScript library for simple 3D graphics and visualisation on a HTML5 canvas 2D renderer. It does not use WebGL. Works on all HTML5 browsers, including desktop, iOS and Android.

Desain dan media

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

phoria.js

phoria.js has been replaced by phoria2! A rewrite for WebGL 2 - with physically based materials, shadows, 3D charts, labels, picking, particles and glTF models - with the same aim of simple 3D for the web. Check it out! https://github.com/kevinroast/phoria2

JavaScript library for simple 3D graphics on a canvas 2D renderer. It does not use WebGL.

Works on any device that can display HTML5 Canvas - so all modern browsers and including iOS and Android.

It uses the excellent vector and matrix maths library http://glmatrix.net

Exciting live demo pages:

http://www.kevs3d.co.uk/dev/phoria/

http://www.kevs3d.co.uk/dev/phoria/test0.html - test 0 - basic cube on grid

http://www.kevs3d.co.uk/dev/phoria/test0t.html - test 0t - textured cube

http://www.kevs3d.co.uk/dev/phoria/test0uv.html - test 0uv - UV coordinates texturing

http://www.kevs3d.co.uk/dev/phoria/test0k.html - test 0k - WASD and arrow keys move around scene

http://www.kevs3d.co.uk/dev/phoria/test0r.html - test 0r - incremental rotation - mouse control

http://www.kevs3d.co.uk/dev/phoria/test0q.html - test 0q - World and Local axis rotation using quaternions

http://www.kevs3d.co.uk/dev/phoria/test0p.html - test 0p - object selection 'picking'

http://www.kevs3d.co.uk/dev/phoria/test1.html - test 1 - animated point lights around a cube

http://www.kevs3d.co.uk/dev/phoria/test1d.html - test 1d - live debug information in a scene

http://www.kevs3d.co.uk/dev/phoria/test1t.html - test 1t - transparent polygons, plain and textured

http://www.kevs3d.co.uk/dev/phoria/test2i.html - test 2 - example WaveFront .obj file importer

http://www.kevs3d.co.uk/dev/phoria/test3.html - test 3 - sphere with point lighting

http://www.kevs3d.co.uk/dev/phoria/test3s.html - test 3s - software rendered triangles

http://www.kevs3d.co.uk/dev/phoria/test3p.html - test 3p - lightsourced point sphere

http://www.kevs3d.co.uk/dev/phoria/test4g.html - test 4g - particle emitter with gravity

http://www.kevs3d.co.uk/dev/phoria/test4p.html - test 4p - particles as point lights

http://www.kevs3d.co.uk/dev/phoria/test4t.html - test 4t - sprite particles flame effect

http://www.kevs3d.co.uk/dev/phoria/test5.html - test 5 - dynamic texturing - paint gun

http://www.kevs3d.co.uk/dev/phoria/test6.html - test 6 - data visualisation - graph

http://www.kevs3d.co.uk/dev/phoria/test7.html - test 7 - scene triggers - a sequence of actions

http://www.kevs3d.co.uk/dev/phoria/test8.html - test 8 - scene triggers, particle field, spaceships

http://www.kevs3d.co.uk/dev/phoria/test9.html - test 9 - fireworks demo - scene triggers, particles

Jelajahi proyek terkait

Memuat…