This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uniform vec2 imageResolution; | |
uniform float lineThickness; | |
uniform vec4 lineColor; | |
uniform sampler2D image; | |
bool check_bounds(vec4 a, vec4 b, vec4 c, vec4 d, vec4 e, vec4 f, vec4 g, vec4 h) { | |
if (a.a < 0.5) return true; | |
if (b.a < 0.5) return true; | |
if (c.a < 0.5) return true; | |
if (d.a < 0.5) return true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:convert'; | |
import 'dart:io'; | |
final client = HttpClient(context: SecurityContext(withTrustedRoots: true)); | |
Future<Map<String, dynamic>> createDiscordWebhook({ | |
required String channelId, | |
required String authorization, | |
required String name, | |
}) async { |