Skip to content

Instantly share code, notes, and snippets.

volkanozcan2

Block or report user

Report or block volkanozcan2

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@volkanozcan2
volkanozcan2 / index.html
Last active Jan 23, 2017
p5js:perlin_noise
View index.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="theme-color" content="#999999">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<html>
<head>
@volkanozcan2
volkanozcan2 / random_color.js
Created Jan 23, 2017
javascript:random_color
View random_color.js
function getRandomColor() {
var letters = '0123456789ABCDEF'.split('');
var color = '#';
for (var i = 0; i < 6; i++) {
color += letters[Math.floor(Math.random() * 16)];
}
return color;
}
@volkanozcan2
volkanozcan2 / sinn.js
Last active Jan 30, 2017
p5js:harfler
View sinn.js
var adderx = 0.01;
var addery = 0.09;
var obje = [];
var adet;
var basili = false;
var deneme = []
var alfabe = ["A", "B", "C", "Ç", "D", "E", "F", "G", "Ğ", "H", "İ", "I", "J", "K", "L", "M", "N", "O", "Ö", "P", "R", "S", "Ş", "T", "U", "Ü", "V", "Y", "Z"];
function setup() {
adet = 50;
View template.js
function setup() {
x = $("#myContainer").width(); /* myContainerı istediğinle değiştir */
y = $("#myContainer").height(); /* bunuda */
var mycanvas = createCanvas(x, y);
mycanvas.parent("myContainer"); /* id ile seçiyor classla değil */
fill("#FF9F1C");
/*istersen gölge ekle */
// drawingContext.shadowOffsetX = 1;
// drawingContext.shadowOffsetY = -1;
View sinn.js
// ▄▄▄▄ █ ██ ███▄ █ ▓█████ ██▓ ▄▄▄ ███▄ █
// ▓█████▄ ██ ▓██▒ ██ ▀█ █ ▓█ ▀ ▓██▒ ▒████▄ ██ ▀█ █
// ▒██▒ ▄██▓██ ▒██░ ▓██ ▀█ ██▒▒███ ▒██░ ▒██ ▀█▄ ▓██ ▀█ ██▒
// ▒██░█▀ ▓▓█ ░██░ ▓██▒ ▐▌██▒▒▓█ ▄ ▒██░ ░██▄▄▄▄██ ▓██▒ ▐▌██▒
// ░▓█ ▀█▓▒▒█████▓ ▒██░ ▓██░░▒████▒ ░██████▒▓█ ▓██▒▒██░ ▓██░
// ░▒▓███▀▒░▒▓▒ ▒ ▒ ░ ▒░ ▒ ▒ ░░ ▒░ ░ ░ ▒░▓ ░▒▒ ▓▒█░░ ▒░ ▒ ▒
// ▒░▒ ░ ░░▒░ ░ ░ ░ ░░ ░ ▒░ ░ ░ ░ ░ ░ ▒ ░ ▒ ▒▒ ░░ ░░ ░ ▒░
// ░ ░ ░░░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░
// ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
//
View Euler project.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View scraper.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@volkanozcan2
volkanozcan2 / ARF.js
Last active Feb 16, 2017
p5js:attraction_repulsion
View ARF.js
// A system of particles that respond to Attraction / Repulsion Forces.
var particles = [];
function setup() {
x = $("#myContainer").width(); /* myContainerı istediğinle değiştir */
y = $("#myContainer").height(); /* bunuda */
var mycanvas = createCanvas(x, y);
mycanvas.parent("myContainer"); /* id ile seçiyor classla değil */
View pixel_array_samples.js
/*
888
888
888
.d88b. 88888b. 888888 .d88b. 888d888 .d88b. .d8888b 8888b. 88888b.
d8P Y8b888 "88b888 d8P Y8b888P" d8P Y8b88K "88b888 "88b
88888888888 888888 88888888888 88888888"Y8888b..d888888888 888
Y8b. 888 888Y88b. Y8b. 888 Y8b. X88888 888888 888
"Y8888 888 888 "Y888 "Y8888 888 "Y8888 88888P'"Y888888888 888
@volkanozcan2
volkanozcan2 / tester.js
Last active Mar 26, 2017
node:requests
View tester.js
var request = require("request");
var moment = require("moment");
var fs = require("fs");
var sonuclar = [];
fs.unlink('deneme.txt', (err) => {
if (err) throw err;
console.log('successfully deleted denem.txt');
});
var day = moment("1996-11-16");
You can’t perform that action at this time.