Skip to content

Instantly share code, notes, and snippets.

View ayato-p's full-sized avatar
💪

ayato-p ayato-p

💪
  • UZABASE, inc.
  • Tokyo, Japan
  • 07:11 (UTC +09:00)
View GitHub Profile
package test;
import java.util.Random;
public class RandomCreate {
private int[] bitArray;
/**
* overLoad
def prime(n)
k=2
c=0
if n==1
print("false","\n")
else
while k<n-1
b=n%k
if b==0
#! /usr/bin/ruby
def collatz(n)
print n.to_s+"\n"
if n%2 == 0
collatz(n/2)
elsif n != 1
collatz(n*3+1)
end
end
import java.util.Iterator;
public interface Aggregate {
public abstract Iterator<Book> iterator();
}
/*
↓参考
http://saeki-ce.xsrv.jp/C_src/mandelbrot01.html
↓あとで読む
http://azisava.sakura.ne.jp/mandelbrot/algorithm.html
*/
int windowX = 800, windowY = 800;
double cr1 = -2.3, cr2 = 0.7;
double ci1 = -1.5, ci2 = 1.5;
import ketai.sensors.*;
KetaiSensor sensor;
PImage texmap;
int sDetail = 35; // Sphere detail setting
float rotationX, rotationY;
float velocityX, velocityY;
float globeRadius = 100;
for(int i = 0; i<list.size(); i++){
}
for(int i = 0, n = list.size(); i<n; i++){
}
def greatest_common_divisor(n, m)
return n if m.zero?
greatest_common_divisor(m, n%m)
end
def dw(y,m,d)
j = y/100
k = y%100
h = (d + (((m+1)*26)/10).to_i + k + (k/4).to_i + (j/4).to_i - (2*19))%7
end

あけましておめでとうございます。

旧年中は大変お世話になりました。 今年もよろしくお願いいたします。

ということで、早速ですが年賀状のARマーカーの説明とかさせてもらおうかなと。

年賀状のARマーカーについて