This file contains hidden or 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
<a href="https://twitter.com/share" class="twitter-share-button" data-text="(ここにツイート文言を入れる。data-text属性ごと省けばページタイトルがツイート文言になる)" data-lang="ja">ツイート</a> | |
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> |
This file contains hidden or 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
var i, j; | |
var x = [0]; | |
var y = [0]; | |
var nextX = []; | |
var nextY = []; | |
for(j=0; j<4; j++) { | |
l = x.length-1; | |
for(i=0; i<x.length; i++) { | |
nextX[i] = x[i] + 1 - y[l]; | |
nextY[i] = y[i] + x[l]; |
This file contains hidden or 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
var res = '\n', i, j; | |
for(i = 1; i <= 7; i++) { | |
for(j = 1; j < 15; j++) { | |
res += (i * j) % 8 ? ' ' : '*'; | |
} | |
res+= '\n'; | |
} |
This file contains hidden or 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
$('.env-2#p') |
This file contains hidden or 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
w = Flatten[Nest[{#, #[[1]]} &, {1, 0}, 20]]; | |
ListPlot[{Re[#], Im[#]} & /@ | |
Accumulate[ | |
Join[ | |
{0}, | |
I^Accumulate[Join[{1}, w*(-1)^Mod[Range[Length[w]], 2]]] | |
] | |
], | |
Joined -> True, | |
AspectRatio -> Automatic |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
Graphics[Point[ | |
Transpose[{Re[#], Im[#]} &[ | |
Table[FromDigits[IntegerDigits[k, 2], 1 + I], {k, 0, 1023}] | |
]] | |
]] |
This file contains hidden or 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
Graphics[Line[ | |
{Re[#], Im[#]} & /@ | |
Join[ | |
{0}, | |
Accumulate[(-1)^(Nest[Join[# + 1, Reverse[#] - 1] &, {0}, 11]/4)] | |
] | |
]] |
This file contains hidden or 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
(function(){ | |
var idArr=[]; | |
var duplicateIdArr = []; | |
[].forEach.call(document.querySelectorAll('[id]'), function(elm){ | |
var id = elm.getAttribute('id'); | |
if(idArr.indexOf(id) !== -1) { | |
duplicateIdArr.push(id); | |
} else { | |
idArr.push(id); | |
} |
This file contains hidden or 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
generator = {0, Pi/3, -Pi/3, 0}; |