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 |
| /* | |
| * Copyright 2016 Google Inc. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| // | |
| // Source code recreated from a .class file by IntelliJ IDEA | |
| // (powered by Fernflower decompiler) | |
| // | |
| package com.google.firebase.provider; | |
| import android.content.ContentProvider; | |
| import android.content.ContentValues; | |
| import android.content.Context; |
| package com.mtsahakis.mediaprojectiondemo; | |
| import android.app.Activity; | |
| import android.app.Service; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.graphics.Bitmap; | |
| import android.graphics.PixelFormat; | |
| import android.graphics.Point; | |
| import android.hardware.display.DisplayManager; |
| //Override in your touch-enabled view (this can be differen than the view you use for displaying the cam preview) | |
| @Override | |
| public boolean onTouch(View view, MotionEvent motionEvent) { | |
| final int actionMasked = motionEvent.getActionMasked(); | |
| if (actionMasked != MotionEvent.ACTION_DOWN) { | |
| return false; | |
| } | |
| if (mManualFocusEngaged) { | |
| Log.d(TAG, "Manual focus already engaged"); | |
| return true; |
| extension CGRect | |
| { | |
| /** Creates a rectangle with the given center and dimensions | |
| - parameter center: The center of the new rectangle | |
| - parameter size: The dimensions of the new rectangle | |
| */ | |
| init(center: CGPoint, size: CGSize) | |
| { | |
| self.init(x: center.x - size.width / 2, y: center.y - size.height / 2, width: size.width, height: size.height) |
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 |
| package com.hashlearn.common.utils; | |
| import android.graphics.Canvas; | |
| import android.graphics.Paint; | |
| import android.graphics.Rect; | |
| import android.graphics.drawable.Drawable; | |
| import android.text.style.DynamicDrawableSpan; | |
| import java.lang.ref.WeakReference; |
| import Foundation | |
| import UIKit | |
| public class Checkmark: UIView { | |
| // MARK: Public variables | |
| public var initialLayerColor: UIColor = UIColor.blue { | |
| didSet { | |
| initialLayer.strokeColor = initialLayerColor.cgColor | |
| } |
| /* | |
| * Copyright (C) 2017 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
| // | |
| // ViewController.swift | |
| // CameraFilter | |
| // | |
| import UIKit | |
| import AVFoundation | |
| class ViewController: UIViewController, AVCaptureVideoDataOutputSampleBufferDelegate { | |