pako
three.js
pako | three.js | |
---|---|---|
6 | 454 | |
5,295 | 99,113 | |
0.0% | - | |
0.6 | 9.9 | |
about 1 year ago | 6 days ago | |
JavaScript | JavaScript | |
MIT License | 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.
pako
-
Gzip library for client-side compression
try pako
-
Storing State in the URL
A trick I've used on top of serializing JSON in the URL is in-browser compression with a library like pako [0] (zlib in JavaScript). This helps you get more data in before you reach the browser limit for URL length.
[0] https://github.com/nodeca/pako
-
Browsers can do that?
Another operation that is sometimes desired is to take several files and give the user a compressed file. There are actually a surprisingly large amount (jszip, pako) of client side options here, but my favorite so far when it comes to speed, size and working with .zip has been fflate. But if you'd like to work with other formats, there are also libraries to decompress 7-Zip, RAR & TAR.
-
Major updates for bundle.js.org v0.0.3
I used monaco-editor for the code-editor, esbuild and rollup as bundler and treeshaker respectively, pako as a js port of the zlib and gzip libraries, pretty-bytes to convert the gzip size to human readable values, and countapi-js to keep track of the number of page visits, in a private and secure way.
-
Interacting with usernotes outside of toolbox
Just wanted to let you know the most current version of pako does not work with the example on the wiki page. It errors out with "unknown compression format". I had to use the version found in Toolbox lib folder in order to get the example from the wiki page to work.
-
298 App Lab apps in a Steam-like filter system
Uncompressing should be straightforward with pako.js.
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?
JSZip - Create, read and edit .zip files with Javascript
BabylonJS - Babylon.js is a powerful, beautiful, simple, and open game and rendering engine packed into a friendly JavaScript framework.
fast-zlib - Shared context synchronous compression
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 —
decompress-zip - Module that decompresses zip files
model-viewer - Easily display interactive 3D models on the web and in AR!
fflate - High performance (de)compression in an 8kB package
heatmap.js - 🔥 JavaScript Library for HTML5 canvas based heatmaps
Archiver - a streaming interface for archive generation
A-Frame - :a: Web framework for building virtual reality experiences.
decompress - Extracting archives made easy
framer/motion - Open source, production-ready animation and gesture library for React