Skip to content

Instantly share code, notes, and snippets.

View MartinRGB's full-sized avatar
🎯
Focusing

MartinRGB MartinRGB

🎯
Focusing
View GitHub Profile
@MartinRGB
MartinRGB / WebGL-WebGPU-frameworks-libraries.md
Created September 20, 2023 11:37 — forked from dmnsgn/WebGL-WebGPU-frameworks-libraries.md
A collection of WebGL and WebGPU frameworks and libraries

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.

Engines and libraries

Name Stars Last Commit Description
three.js ![GitHub Rep
@MartinRGB
MartinRGB / increase-pci-bar-space.sh
Created August 30, 2023 13:13 — forked from geerlingguy/increase-pci-bar-space.sh
Increase the BAR memory address space for PCIe devices on the Raspberry Pi Compute Module 4
#!/bin/bash
# The default BAR address space available on the CM4 may be too small to allow
# some devices to initialize correctly. To avoid 'failed to assign memory'
# errors on boot, you can increase the range of the PCIe bus in the Raspberry
# Pi's Device Tree (a .dtb file specific to each Pi model).
#
# You should probably read up on Device Trees if you don't know what they are:
# https://www.raspberrypi.org/documentation/configuration/device-tree.md
#
@MartinRGB
MartinRGB / app.html
Created January 10, 2021 07:17 — forked from bellbind/app.html
[electron]Use electron as a Web Server
<!doctype html>
<html><head><script src="app.js"></script></head><body></body></html>
@MartinRGB
MartinRGB / MyLWPService.java
Created March 28, 2019 03:32 — forked from iangilman/MyLWPService.java
Android WallpaperService with WebView
import android.content.BroadcastReceiver;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.graphics.Canvas;
import android.graphics.Point;
import android.preference.PreferenceManager;
import android.service.wallpaper.WallpaperService;
import android.content.Context;
import android.support.v4.content.LocalBroadcastManager;
// by davey whyte aka @beesandbombs
void setup(){
size(600,520,P3D);
colorMode(HSB,1);
noStroke();
}
float R = 160, r = 55;
int N = 720;
// by d whyte
int[][] result;
float t;
float ease(float p) {
return 3*p*p - 2*p*p*p;
}
float ease(float p, float g) {
@MartinRGB
MartinRGB / Pixi.js Smoke Shader
Last active May 20, 2021 15:06 — forked from OmarShehata/Pixi.js Smoke Shader
Example of smoke shader in Pixi.js
collection head
@MartinRGB
MartinRGB / DeviceDetectUtil
Last active April 26, 2018 09:07 — forked from Muyangmin/DeviceDetectUtil.java
detect android device info, MIUI version, etc.
collection head
@MartinRGB
MartinRGB / BlurImageView
Last active February 22, 2023 11:24 — forked from bartektrail/BlurImageView.java
BlurImageView allows to dynamically blur an image and smoothly pass from sharp to fully blurred image. It's extended ImageView.
collection head
@MartinRGB
MartinRGB / BlurImageView
Last active April 17, 2018 18:03 — forked from bartektrail/BlurImageView.java
BlurImageView allows to dynamically blur an image and smoothly pass from sharp to fully blurred image. It's extended ImageView.
collection head