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
"Wisdom comes alone through suffering." - AESCHYLUS. | |
"I sacrifice to no god save myself — And to my belly, greatest of deities." - EURIPEDES. | |
"Life is pleasant. Death is peaceful. It's the transition that's troublesome." - ASIMOV, Isaac. | |
"Self-education is, I firmly believe, the only kind of education there is." - ASIMOV, Isaac. | |
"Oh, I'm just too good for my own bad self. Hello Earth. Who's your daddy? Why, yes, I am." - SCHWING, Schwang (MDK2). | |
"The best way out is always through." - FROST, Robert. | |
("It's not possible.") "No, it's necessary." - COOPER (Interestellar). | |
"There are no two words in the english language more harmful than 'Good Job'." - FLETCHER (Whiplash). | |
“If my doctor told me I had only six minutes to live, I wouldn't brood. I'd type a little faster.” - ASIMOV, Isaac. | |
"The right man in the wrong place can make all the difference in the world. So, wake up, Mister Freeman. Wake up and... smell the ashes." - G-MAN (Half-life 2). |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<resource_file type="CanvasItemShaderGraph" subresource_count="1" version="2.0" version_name="Godot Engine v2.0.rc1.custom_build"> | |
<main_resource> | |
<dictionary name="_code" shared="false"> | |
<string> "fragment" </string> | |
<string> "vec3 nd1sl2=vec3(UV,0);�a;float nd6sl0=nd1sl2.x;�a;float nd6sl1=nd1sl2.y;�a;float nd6sl2=nd1sl2.z;�a;float nd2sl0=TIME;�a;float nd3sl0=fract(nd2sl0);�a;float nd4sl0=max(nd3sl0,nd6sl1);�a;float nd5sl0=min(nd3sl0,nd6sl1);�a;float nd7sl0=nd4sl0-nd5sl0;�a;float nd8sl1def=0.01;�a;float nd8sl0=min(nd7sl0,nd8sl1def);�a;float nd9sl1def=100;�a;float nd9sl0=nd8sl0*nd9sl1def;�a;float nd12sl0=nd9sl0*nd6sl1;�a;vec3 nd10sl0=vec3(nd6sl0,nd12sl0,nd6sl2);�a;vec4 rt_default_tex11=tex(TEXTURE,nd10sl0.xy);�a;vec3 nd11sl0=rt_default_tex11.rgb;�a;float nd11sl1=rt_default_tex11.a;�a;COLOR.rgb=nd11sl0;�a;" </string> | |
<string> "fragment_ofs" </string> | |
<int> 0 </int> | |
<string> "lig |
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
// Based on http://www.geeks3d.com/20140213/glsl-shader-library-fish-eye-and-dome-and-barrel-distortion-post-processing-filters/2/ | |
float PI = 3.1415926535; | |
uniform float BarrelPower; | |
vec2 distort(vec2 p) { | |
if(p.x > 0.0){ | |
float angle = p.y / p.x; | |
float theta = atan(angle); |
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
#CUSTOM_DOCK.GD | |
tool | |
extends VBoxContainer | |
# member variables here, example: | |
# var a=2 | |
# var b="textvar" | |
func _ready(): | |
# Called every time the node is added to the scene. |
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
func find_viewport(node, recursive_level): | |
if node.get_type() == "CanvasItemEditor": | |
return node.get_child(1).get_child(0).get_child(1).get_child(1) | |
else: | |
recursive_level += 1 | |
if recursive_level > 15: | |
return null | |
for child in node.get_children(): | |
var result = find_viewport(child, recursive_level) | |
if result != null: |
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
func forward_input_event(event): | |
if event.type == InputEvent.MOUSE_BUTTON: | |
if event.button_index == BUTTON_LEFT and get_selection().get_selected_nodes().size() == 0: | |
make_visible(false) | |
return false | |
func make_visible(visible): | |
if visible: | |
dock.show() | |
else: |
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
input = game.add.inputField(10, 90, style); | |
input.stateRef = this; | |
input.isEditting = false; | |
(function (i){ | |
var oldStartFocus = i.startFocus; | |
i.startFocus = function (){ | |
console.log("Start"); |
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
Assignment 3: | |
Headlines -> Vectors -> Groups | |
\_________ ________/ | |
v | |
the complicated | |
part | |
Baseline idea: | |
- Bag of Words (BoW) |
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
shader_type spatial; | |
render_mode unshaded; | |
uniform float red = 1.0; | |
uniform float green = 1.0; | |
uniform float blue = 1.0; | |
void fragment() { | |
ALBEDO = vec3(red, green, blue); |
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
06-24 23:26:37.337 20743 20743 D GoogleService: Play Service Available. | |
06-24 23:26:37.338 20743 20743 D GoogleService: Google::Initialized | |
06-24 23:26:37.355 20743 20743 D GoogleService: Google not connected | |
06-24 23:26:39.421 21081 21081 I SignInActivity: Transition from -1 to 0 | |
06-24 23:26:43.208 21081 21081 I SignInActivity: Transition from 0 to 1 | |
06-24 23:26:43.231 21081 21081 I SignInActivity: Transition from 1 to 3 | |
06-24 23:26:43.326 21081 21081 I SignInActivity: Transition from 3 to 4 | |
06-24 23:26:43.844 21081 21081 I SignInActivity: Transition from 4 to 5 | |
06-24 23:26:43.866 21081 21081 I SignInActivity: Transition from 5 to 6 | |
06-24 23:26:44.175 21081 21081 I SignInActivity: Transition from 6 to 11 |
OlderNewer