脑壳logo

烁灵 posted @ 2015年7月13日 18:09 in 前端 with tags logo nocknow 脑壳 , 1842 阅读
<html>
<body style="text-align:center;background-color:#1e576b">
	<canvas id="logoCanvas"></canvas>
</body>
<script src="http://code.jquery.com/jquery-1.8.3.js"></script>

<script type="text/javascript">
	function drawLogo() {
		var w = 11;
		var h = 17;
		var border = 24;
		var map = [
			[1,1,1,1,1,1,1,1,1,1,1],
			[1,0,0,0,0,0,0,0,0,0,1],
			[1,0,1,0,1,1,1,1,1,0,1],
			[1,0,1,0,0,0,0,0,1,0,1],
			[1,0,1,0,1,1,1,0,1,0,1],
			[1,0,1,0,1,0,1,0,1,0,1],
			[1,0,1,0,1,0,1,0,1,0,1],
			[1,0,1,0,0,0,0,0,1,0,1],
			[1,0,1,1,1,0,1,1,1,0,1],
			[1,0,1,0,0,0,0,0,1,0,1],
			[1,0,1,0,1,1,1,0,1,0,1],
			[1,0,1,0,1,0,0,0,1,0,1],
			[1,0,1,0,1,1,1,0,1,0,1],
			[1,0,1,0,0,0,0,0,1,0,1],
			[1,0,1,1,1,0,1,1,1,0,1],
			[1,0,0,0,0,0,0,0,0,0,1],
			[1,0,0,0,0,0,0,0,0,0,1]
		]
		var canvas=document.getElementById('logoCanvas');
		var fillWidth = border * w;
		var fillHeight = border * h;
		$(canvas).attr("height", fillHeight + "px");
		$(canvas).attr("width", fillWidth + "px");
		var ctx=canvas.getContext('2d');
		ctx.clearRect(0, 0, fillWidth, fillHeight);
		for (var y = 0; y < h; y += 1) {
			for (var x = 0; x < w; x += 1) {
				if (map[y][x] == 0) {continue;}
				ctx.fillStyle='#FFF';
				ctx.fillRect(x * border, y * border, border, border);
			}
		}
	}
	$(document).ready(function() {
		drawLogo();

	});

</script>
</html>
 
Avatar_small
Roxanne Thompson 说:
2019年12月22日 19:23

Supervision of the role and program is done for the visuals. The changes of the <a href="https://www.toptenwritingservices.com/">essay writing service reviews</a> are departed for the individual's.it is enchanting for the joys. The form is shaped by the futurities. The monitoring iodine for the individuals. Skills have aspired for the mid of the way. the argument is done for the fundamental paths for the team and its structure for the future items.

Avatar_small
essay writing servic 说:
2019年12月22日 19:24

by the futurities. The monitoring iodine for the individuals. Skills have aspired for the mid of the way. the argument is done for the

Avatar_small
<a href="https://www 说:
2019年12月22日 19:24

by the futurities. The monitoring iodine for the individuals. Skills have aspired for the mid of the way. the argument is done for the

Avatar_small
<a href="https://www 说:
2019年12月22日 19:25

[url=https://www.bestessayservicereviews.com/essay-writing/essaypro-com/]‌‌essaypro[/url]

Avatar_small
Alyssa 说:
2022年12月30日 23:17

A skull logo is a logo that features a skull in some way. This can be a literal skull, or it can be a skull-like image. Skull logos can be used to represent a number of things, from death elbow joint pain and danger to rock and roll. Skull logos are often used by businesses in the adventure or extreme sports industries, as well as by bands and other musical groups.

Avatar_small
Tenda Login 说:
2023年2月03日 13:54

The popular brand Tenda supplies various wireless routers which well known for easy configuration of the WiFi network. Once a new Router bought, one should make it ready to configure such that their LAN connection does move to WiFi to used by multiple devices. Tenda Login Tenda is the most preferred brand in customer premises wireless equipment due to its good range and stable connection. This difference in Bandwidth does allow the WiFi Router to handle better internet for any kind of bandwidth requested.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter