A micro WebGL2 framework with a ton of features
license: public domain
Install via NPM with npm install https://github.com/xem/W/#semver:1.0.1
A micro WebGL2 framework with a ton of features
Home Page: https://xem.github.io/W
A micro WebGL2 framework with a ton of features
license: public domain
Install via NPM with npm install https://github.com/xem/W/#semver:1.0.1
Right now you have to copy the files into your own project.
Make it easier for developers...
Hello, I just found your project and it looks great! But I have a few questions:
W.move({n:"mario", size : ....
?1
and increase/decrease with small steps, but I do not understand what is 1
.bricks
, but other - trees
?Thanks!
As far as I can tell, the setState
function (https://github.com/xem/W/blob/gh-pages/w.js#L131) only uses the state
, type
, and texture
parameters, and does not use i, normal = [], A, B, C, Ai, Bi, Ci, AB, BC
.
@xem -- Can these be safely removed?
ESM (modules) are the future; they let developers handle dependencies without polluting the window
scope.
w.esm.js
build that uses export default W
Can this be done in a way that...
As the title says.
When trying to put the camera in a group with the minified W code, the camera does not move anywhere.
Made a custom build from the full version, and it works, so probably some build step / option messed it up.
The near and far values (the min and max values for the camera's frustrum?) are hard-coded to 1 and 1000. It would be useful to be able to adjust these. (Currently I'm working on a prototype of a solar system, and I'd like to use larger numbers for coordinates.)
I think this would involve adjusting the projection? https://github.com/xem/W/blob/gh-pages/w.js#L150 But I don't understand the math here. @xem I think this could be controlled via parameters on the camera
method without adding too many bytes.
I don't know how to implement a raycasting using W, there is some functionality to assist with raycasting?.
Raycasting is used for mouse picking (working out what objects in the 3d space the mouse is over) amongst other things.
If hasn't some function, could u implement it or guide on a way to add it on the W?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.