threeify
three.js
threeify | three.js | |
---|---|---|
2 | 451 | |
195 | 98,992 | |
-0.5% | - | |
7.9 | 9.9 | |
5 months ago | 5 days ago | |
TypeScript | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
threeify
-
C++23: The Next C++ Standard
As someone who has written math libraries over and over again for the last 25 years (no joke - wrote this in 1997: https://github.com/bhouston/BezierCurveDemo1997/blob/master/... and just recently wrote the Threeify math library: https://github.com/bhouston/threeify/tree/master/packages/ma...), I find that operator overloading works only for the simple cases but that for performance and clarify, function names work best.
Function names let you clarify that it is an outside product or inside product (e.g. there are often different types of adds, multiplies, divides), and I can not stand when someone maps cross product onto ^ or dot product onto something else. Also operator overloading often doesn't make clear memory management, rather it replies on making new objects constantly, where as with function names, you can pass in a parameter that will take the result. Lastly, function names allow you to pass in how to handle various conditions, like non-invertible, NANs, etc.
I find word based function more verbose but significant less error prone and also they are more performant. Operator overloading is only good for very simple code and even then people always push it too far so that I can not understand it.
-
Clara.io Shutting Down
Fun fact, a lot of it is open source, just not where you would expect it. During the creation of Clara.io I created over 200 PRs to Three.js:
https://github.com/mrdoob/three.js/pulls?q=is%3Apr+author%3A...
The problem with open sourcing it wholesale at this point is a challenge because parts of the tech stack became parts of Threekit.com. Threekit.com is VC funded and an ongoing business operation.
I do what I can with open source still, see:
https://github.com/bhouston/behave-graph
https://github.com/threeify/threeify
three.js
-
I've made game engine (I think)
Hi! With Python and ThreeJS (https://threejs.org/) I have made app to make easy 3d visualisation, which you can test in browser. Like this:
-
Implementing 3D Graphics in React
In React, there are different libraries for rendering 3D. In this article, we will focus on how to use the Three.js Library, React Three Fiber library, and the React Three Drei library for creating 3D objects.
-
Implementing Bloom Effect with Mapbox and Three.js
Regarding the optimization of the effect, I found an issue on the three.js GitHub repository: https://github.com/mrdoob/three.js/issues/14104 The alpha channel issue seems to be a difficult problem, which has been present since 2018. At the end of the discussion, a solution proposed by a contributor is not to modify the UnrealBloomPass but to blend the source texture and target texture in the shader.
-
Finding Stars and Affirmations in the Sky with Three.js for Ayra Starr
Here's how we used Three.js to place and find affirmations in the sky.
- Ask HN: Tips to get started on my own server
-
Incredible JavaScript Animation Libraries
Three.js is dedicated to generating 3D visuals, offering a powerful suite of features and tools. It is built atop WebGL and optimizes GPU usage for rapid rendering, ensuring smooth performance across devices, including those with limited resources. Three.js's versatility allows for the creation of a vast spectrum of 3D graphics and animations, ranging from simple shapes to intricate models.
-
JavaScript Libraries That You Should Know
7. three.js
-
React: A Mess That Shouldn't Exist In Web Development
Most of frontend libraries are made with Vanilla JS. An example of library that you might frequently use is "Chart.js". But React is not compatible with Chart.js so here it comes "React-chartjs-2" A wrapper library to work with Chart.js in React ecosystem. Oh you want to use "three.js" for some cool 3D? you will need "React-three/fiber". In my case, I need to implement "telegram-web-app", not so fast, I have to create my own wrapper to be able to use it.
- JPEG XL Is a Stupid Name
-
Things you should know before learning Three.js
For one of my 100-Day Challenges, I chose to dive into Three.js, a JavaScript 3D library. It's easy to start learning, and it becomes difficult to master with the inclusion of shaders.
What are some alternatives?
typesl - Typescript to GLSL transpiler
BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
cadenza - A WebXR rhythm game
p5.js - p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
yg-vishva - yg-vishva is a web component for 3D world/universe. [Note: As this project was outcome of extraction of my portfolio code and still THINKING what all things to ADD, so focused on things than the code...post that code will get refactor!]
model-viewer - Easily display interactive 3D models on the web and in AR!
streets-gl - 🗺 OpenStreetMap 3D renderer powered by WebGL2
heatmap.js - 🔥 JavaScript Library for HTML5 canvas based heatmaps
BezierCurveDemo1997 - Utah Teapot and Mystify Screensaver, 16-Bit DOS, Personal Project 1997 https://files.scene.org/view/mirrors/hornet/code/tutors/math/azr_bcrv.zip
A-Frame - :a: Web framework for building virtual reality experiences.
draft - C++ standards drafts
framer/motion - Open source, production-ready animation and gesture library for React