saharan / hgsl Goto Github PK
View Code? Open in Web Editor NEWA shading language that can be compiled into GLSL ES 3.0
License: MIT License
A shading language that can be compiled into GLSL ES 3.0
License: MIT License
I wondering how did you get the metapath embedding like apcpa_emd.pkl in dblp. Please answer me when you see it, thank you very much!
The following shader does not work in Safari (both PC and iOS)
vertex shader
#version 300 es
layout(location = 0) in vec4 pos;
uniform float t;
void main(); // prototype declaration
void main() {
gl_Position = pos + t; // using uniform
}
fragment shader
#version 300 es
precision highp float;
precision highp int;
layout(location = 0) out vec4 col;
void main() {
col = vec4(1);
}
REALLY don't know why, but this can be avoided anyway by sorting functions in some order (since no recursion is allowed).
excuse me,I wonder what logits means in the trasin.py.Does it mean the representation of each node?
final a = [1, 2, 3];
The variable a
must be typed as hgsl.Types.Array<Int, 3>
at any place, but inside a class that extends hgsl.ShaderMain
, a
is typed as std.Array<Int>
.
final a = 1 / 2;
a
is hgsl.Types.Int
but 1 / 2
is StdTypes.Float
, we need int(1 / 2)
here
Keep documentation data in Field
so that users can see them in IDE
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.