Skip to content

Instantly share code, notes, and snippets.

Avatar

Cagil Seker a.k.a MadChuckle cagils

View GitHub Profile
@cagils
cagils / BreathingAnimation.js
Last active Aug 31, 2020
React Native Breath In/Out Animation
View BreathingAnimation.js
/ ====================================================================
// A MODIFIED VERSION OF THE APPLE WATCH LIKE BREATHING ANIMATION
// Cagil Seker [ÇAĞIL ŞEKER] (MadChuckle) - cagils@gmail.com
// ORIGINAL IDEA: Jimmy Cook (https://www.youtube.com/watch?v=dhF1kp0rGak)
// ====================================================================
import React, {useRef} from 'react';
import {Animated, Dimensions, Easing, StyleSheet, View} from 'react-native';
const {width, height} = Dimensions.get('window');
@cagils
cagils / RecursiveRoundRobinTreeLeafTraversal.js
Last active Aug 27, 2018
A RRR-TL Traversal is an hierarchical algorithm that gives each sub-tree equal priority among its siblings with respect to its parent recursively
View RecursiveRoundRobinTreeLeafTraversal.js
// ====================================================================
// RECURSIVE ROUND ROBIN (RRR) TREE LEAF TRAVERSAL ALGORITHM (JS ES6+)
// METHOD IDEA: Cagil Seker [ÇAĞIL ŞEKER] (MadChuckle) - cagils@gmail.com
// SAMPLE ALGORITHM: Apass.Jack (https://cs.stackexchange.com/users/91753/apass-jack)
// ====================================================================
// This is a gist for my (MadChuckle) question at StackOverflow
// Link: 'https://cs.stackexchange.com/questions/95951/is-there-a-name-and-efficient-algorithm-for-this-tree-traversal-method'
//
// This is based on the the pseudo code (and later an implementation) from Apass.Jack
//
You can’t perform that action at this time.