Skip to content
프로젝트

소개

HTML5 canvas 2D 렌더러에서 간단한 3D 그래픽과 시각화를 구현하는 JavaScript 라이브러리입니다. WebGL은 사용하지 않습니다. 데스크톱, iOS, Android를 포함한 모든 HTML5 브라우저에서 작동합니다.

디자인 및 미디어

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

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

관련 프로젝트 살펴보기

불러오는 중…