A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
app_name | bundle_id | sdk | deployment_target | uses_swift | percentage_swift | main_binary_uses_swift | is_game | executable | |
---|---|---|---|---|---|---|---|---|---|
30 Day Fitness | com.vigorapps.30DayFitness | iphoneos12.0 | 10 | TRUE | 31% | TRUE | FALSE | ThirtyDaysFitness | |
8 Ball Pool | com.miniclip.8ballpoolmult | iphoneos11.3 | 8 | FALSE | 0% | FALSE | TRUE | pool | |
Amazon | com.amazon.Amazon | iphoneos11.4 | 9 | FALSE | 0% | FALSE | FALSE | Amazon | |
Amazon Alexa | com.amazon.echo | iphoneos11.2 | 10 | TRUE | 28% | TRUE | FALSE | AlexaMobileiOS-prod | |
Astro Palmistry & Horoscope | com.gfb.horoscope | iphoneos12.1 | 8 | FALSE | 0% | FALSE | FALSE | horoscope | |
Ball Blast | com.nomonkeys.ball-blast | iphoneos12.1 | 9 | FALSE | 0% | FALSE | TRUE | ball-blast | |
BetterMen | com.betterme.bettermen | iphoneos12.0 | 10 | TRUE | 74% | TRUE | FALSE | BetterMen | |
BitLife | com.wtfapps.apollo16 | iphoneos12.1 | 8 | FALSE | 0% | FALSE | TRUE | Apollo16 | |
Bitmoji | com.bitstrips.imoji | iphoneos11.4 | 10 | TRUE | 20% | TRUE | FALSE | imoji |
border: none | |
height: 600 |
A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.
Name | Stars | Last Commit | Description |
---|---|---|---|
three.js | ![GitHub |
So, many places will give you clues how to get linear depth from the OpenGL depth buffer, or visualise it, or other things. This, however, is what I believe to be the definitive answer:
This link http://www.songho.ca/opengl/gl_projectionmatrix.html gives a good run-down of the projection matrix, and the link between eye-space Z (z_e
below) and normalised device coordinates (NDC) Z (z_n
below). From there, we have
A = -(zFar + zNear) / (zFar - zNear);
B = -2zFarzNear / (zFar - zNear);
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>GridLayer Test</title> | |
<meta charset="utf-8" /> | |
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" /> | |
<style> | |
body { | |
padding: 0; | |
margin: 0; |
#import <UIKit/UIKit.h> | |
#import <objc/runtime.h> | |
// Hook with ObjC runtime functions | |
%config(generator=internal) | |
// New methods created below | |
@interface UIGestureRecognizer () | |
+ (void)hs_beginForcingAllNewGestureRecognizersToAllowPencilInput; | |
+ (void)hs_endForcingAllNewGestureRecognizersToAllowPencilInput; |
// | |
// SimpleScrollingStack.swift | |
// A super-simple demo of a scrolling UIStackView in iOS 9 | |
// | |
// Created by Paul Hudson on 10/06/2015. | |
// Learn Swift at www.hackingwithswift.com | |
// @twostraws | |
// | |
import UIKit |
// Configure the Scene View | |
self.sceneView.backgroundColor = [UIColor darkGrayColor]; | |
// Create the scene | |
SCNScene *scene = [SCNScene scene]; | |
#import <UIKit/UIKit.h> | |
#import <SceneKit/SceneKit.h> | |
#import <OpenGLES/ES2/gl.h> | |
#import <OpenGLES/ES2/glext.h> | |
@interface View : UIView | |
@property (strong, nonatomic) SCNScene *scene; | |
- (void)renderFrame; |