Better HN
topnewbestaskshowjobs
Log inSign up

spite

38 karma · joined Apr 1, 2012 (14y ago) · 24 submissions

Submissions

comment 10y ago · link · parent

There's a bit of a write-up coming up!

comment 10y ago · link · parent

Well, regarding that small minority...

WebGL was enabled on Android on KitKat, and according to starts, that's 70,8% of installations (http://developer.android.com/about/dashboards/index.html)

WebGL was enabled on iOS on 8, and that's 93% of installations (https://developer.apple.com/support/app-store/)

I'd say most of mobile browsers can run WebGL, it's just that the experiences are not designed for mobile platforms (this Polygon Shredder, for instance, it does work on mobile, it's just too slow to be good, but I can probably make it work)

Other experiences like https://www.clicktorelease.com/code/cruciform/ or https://www.clicktorelease.com/code/xmas-virus/ are supported and do work as expected.

You're right that there's a lot of phones that are too underpowered to run WebGL experiences, but the browsers themselves do support it perfectly.

comment 10y ago · link · parent

Actually, seems to be fixed in Nightly (47.0a1 (2016-02-07)) already. Cool!

comment 10y ago · link · parent

Technically, they're wrong because the stats are collected by trackers in sites about WebGL, so there's a bias towards having complete WebGL implementations.

Of course there are more than 1% browsers that support, but we're talking about implementations, not devices. You can can have an old iPhone running iOS pre8 and it won't run WebGL, but one can say that iOS does support WebGL now.

The actual implementation stats are here http://caniuse.com/#search=webgl

comment 10y ago · link · parent

Firefox beta/Aurora/DeveloperEdition... all but stable have a regression on WebGL and reporting missing extensions support, like OES_texture_float. Most of the three.js recent content will probably not work on them.

comment 10y ago · link · parent

Should work on Chrome, Firefox, Safari, IE, Opera, Edge... any that supports WebGL with OES_standard_derivatives (so basically 99% of browsers according to http://webglstats.com/)

What version of Firefox, OS, GPU, etc. are you using?

comment 10y ago · link · parent

and a fun bunch of variations those were :D

comment 10y ago · link · parent

Hence the "insane", it means 2048x2048 base particles. That's over 25 million triangles (or 75 million vertices) per pass, and it's done twice (color and shadow mapping). Also the curl noise is pretty expensive, and 2048x2048 is quite a lot of operations. I think the browser locks before being able to allocate all necessary info, and if it does, probably the GPU can't keep up. Not everyone's card can push that much, but I've seen people getting to 4096!

comment 10y ago · link · parent

You laptop has a fan, but it was probably spinning to cool down the GPU. This effect is 99.9% running on your graphics card; once everything is setup by the CPU, it's all running in shaders and video memory. Still hot, but just wanted to make clear where the power is being used.

comment 10y ago · link · parent

It is a nice track! I wanted to do something with audio, stretching the cubes, changing their scale, and emitting different number of particles based on some audio analysis. The next experiment ^_^

About the frakenpolys: the hash info doesn't directly say the number of cubes to generate, but the side of the texture that hold the position. So if it is 256, it's a 256x256 RGBA Float32Array, 65536 particles that are then rendered as cubes. For odd numbers, or simply numbers that are not power of two, it doesn't work (well, it works, but the access to different vertices is all garbled and you get all those franken-noodle-cubes)

comment 11y ago · link · parent

This is a Chrome DevTools extension I've been working on for a while. Its purpose is to enable a feature similar to Firefox DevTools Shader Editor, which shows the list of linked programs in a WebGL rendering context, and allows to live edit the source code of the vertex and fragment shaders.

It provides some nice features like syntax highlighting, error checking and autoformatting, thanks to CodeMirror.

It's finally reached a beta phase and it needs some testing. Any help or suggestions is welcome!

12.

WebGL: Shader Editor for Chrome DevTools(github.com ↗)

6 points · by spite · 11y ago · 1 comment

13.

Show HN: Making of cru·ci·form (JavaScript and WebGL)(clicktorelease.com ↗)

2 points · by spite · 11y ago · discuss

14.

Show HN: Carving digital pumpkins with WebGL(itsamessage.com ↗)

7 points · by spite · 12y ago · discuss

15.

Show HN: A JavaScript library to read depth maps from Android Lens Blur app(clicktorelease.com ↗)

1 points · by spite · 12y ago · discuss

16.

Show HN: Create your own snow[man/woman/person/thingie] (WebGL)(snwbx.com ↗)

2 points · by spite · 12y ago · discuss

17.

Show HN: Loading sound files faster using Array Buffers and Web Audio API(clicktorelease.com ↗)

2 points · by spite · 13y ago · discuss

18.

Show HN: the most random tv channel using Twitter, vine and instagram(procras.tv ↗)

1 points · by spite · 13y ago · discuss

19.

Shake a flake - reactive snow using WebGL, Web Audio API and WebRTC(clicktorelease.com ↗)

3 points · by spite · 13y ago · discuss

20.

CCapture.js - A library to capture canvas-based animations(github.com ↗)

3 points · by spite · 14y ago · discuss

comment 14y ago · link · parent

Not exactly running but it works :) https://twitter.com/thespite/status/219819201928503297

comment 14y ago · link · parent

Ken Perlin's page (http://mrl.nyu.edu/~perlin/) has a lot of interesting resources and demos.

comment 14y ago · link · parent

It does for me: Opera 12.00 alpha, build 3278, Windows 7. What's your setup?

24.

Floating shiny knot - Millions of environment maps with Street View panoramas(clicktorelease.com ↗)

3 points · by spite · 14y ago · discuss