generated at
himagen
こういうのを生成したい

15秒ごとに、暇じゃない漢字の混入具合が変わります

GyaTVを使う方法もあるかも 増井俊之
練習問題によさそう 増井俊之
spanで作れ、tableで作れ、flexboxで作れ、absoluteで作れ、など
http://gyatv.com/暇 で15秒ごとに更新される
hima.js
$('body').children().remove() $('body').css('background-color','#fff') var randx = Math.floor(Math.random()*10) var randy = Math.floor(Math.random()*10) var randc = "叚瑕遐"[Math.floor(Math.random()*3)] for(var y=0;y<10;y++){ for(var x=0;x<10;x++){ var c = (x == randx && y == randy ? randc : '暇') $('<span>') .text(c) .css('position','absolute') .css('left',x*50+10) .css('top',y*50+10) .css('font-size',40) .appendTo($('body')) } }