挖种子小游戏

news2024/9/26 1:22:06

欢迎来到程序小院

挖种子

玩法:看到种子点击鼠标左键进行挖种子,30秒内看你能够挖多少颗种子,快去挖种子吧^^。

开始游戏icon-default.png?t=N7T8https://www.ormcc.com/play/gameStart/251

html

<canvas id="canvas" width="640" height="960">alternate content</canvas>
<div id="start" class="start">
    <div id="start-btn" class="start-btn"></div>

</div>
<div id="loading" class="loading">
    <div class="loading-text">疯狂载入中... [<span id="loading-progress">0</span>%]</div>
</div>
<div id="board" class="board">
    <img class="board-img" src="img/board2.jpg?1408476074">
    <div id="board-text" class="board-text"></div>
    <div class="board-btn" style="top:58%" data-action="retry"></div>
    <div class="board-btn" style="top:70%" data-action="share"></div>
</div>
<div id="share-tip" class="share-tip"></div>

css

canvas {
	position: fixed;
	top: 0;
	left: 0;
	display: block;
	height: 100%;
	margin: auto
}

.board {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	text-align: center
}
board-img {
	height: 100%
}

.board-btn {
	position: absolute;
	width: 67%;
	left: 17%;
	height: 10%;
	top: 47%;
	cursor: pointer
}

js

(function() {
  var c = function(a, k, d) {
      this.initialize(a, k, d)
  }, b = c.prototype;
  b.type = null;
  b.target = null;
  b.currentTarget = null;
  b.eventPhase = 0;
  b.bubbles = !1;
  b.cancelable = !1;
  b.timeStamp = 0;
  b.defaultPrevented = !1;
  b.propagationStopped = !1;
  b.immediatePropagationStopped = !1;
  b.removed = !1;
  b.initialize = function(a, k, d) {
      this.type = a;
      this.bubbles = k;
      this.cancelable = d;
      this.timeStamp = (new Date).getTime()
  };
  b.preventDefault = function() {
      this.defaultPrevented = !0
  };
  b.stopPropagation = function() {
      this.propagationStopped = !0
  };
  b.stopImmediatePropagation =
          function() {
              this.immediatePropagationStopped = this.propagationStopped = !0
          };
  b.remove = function() {
      this.removed = !0
  };
  b.clone = function() {
      return new c(this.type, this.bubbles, this.cancelable)
  };
  b.toString = function() {
      return"[Event (type=" + this.type + ")]"
  };
  createjs.Event = c
})();
this.createjs = this.createjs || {};
(function() {
  var c = function() {
  }, b = c.prototype;
  c.initialize = function(a) {
      a.addEventListener = b.addEventListener;
      a.on = b.on;
      a.removeEventListener = a.off = b.removeEventListener;
      a.removeAllEventListeners = b.removeAllEventListeners;
      a.hasEventListener = b.hasEventListener;
      a.dispatchEvent = b.dispatchEvent;
      a._dispatchEvent = b._dispatchEvent;
      a.willTrigger = b.willTrigger
  };
  b._listeners = null;
  b._captureListeners = null;
  b.initialize = function() {
  };
  b.addEventListener = function(a, k, d) {
      var b;
      b = d ? this._captureListeners = this._captureListeners ||
              {} : this._listeners = this._listeners || {};
      var c = b[a];
      return c && this.removeEventListener(a, k, d), c = b[a], c ? c.push(k) : b[a] = [k], k
  };
  b.on = function(a, k, d, b, c, f) {
      return k.handleEvent && (d = d || k, k = k.handleEvent), d = d || this,
      this.addEventListener(a, function(a) {
          k.call(d, a, c);
          b && a.remove()
      }, f)
  };
  b.removeEventListener = function(a, k, d) {
      if (d = d ? this._captureListeners : this._listeners) {
          var b = d[a];
          if (b)
              for (var c = 0, f = b.length; f > c; c++)
                  if (b[c] == k) {
                      1 == f ? delete d[a] : b.splice(c, 1);
                      break
                  }
      }
  };
  b.off = b.removeEventListener;
  b.removeAllEventListeners =
          function(a) {
              a ? (this._listeners && delete this._listeners[a], this._captureListeners
              && delete this._captureListeners[a]) : this._listeners = 
              this._captureListeners = null
          };
  b.dispatchEvent = function(a, k) {
      if ("string" == typeof a) {
          var d = this._listeners;
          if (!d || !d[a])
              return!1;
          a = new createjs.Event(a)
      }
      if (a.target = k || this, a.bubbles && this.parent) {
          for (var b = this, d = [b]; b.parent; )
              d.push(b = b.parent);
          for (var c = d.length, b = c - 1; 0 <= b && !a.propagationStopped; b--)
              d[b]._dispatchEvent(a, 1 + (0 == b));
          for (b = 1; c > b && !a.propagationStopped; b++)
              d[b]._dispatchEvent(a,
                      3)
      } else
          this._dispatchEvent(a, 2);
      return a.defaultPrevented
  };
  b.hasEventListener = function(a) {
      var k = this._listeners, d = this._captureListeners;
      return!!(k && k[a] || d && d[a])
  };
  b.willTrigger = function(a) {
      for (var k = this; k; ) {
          if (k.hasEventListener(a))
              return!0;
          k = k.parent
      }
      return!1
  };
  b.toString = function() {
      return"[EventDispatcher]"
  };
  b._dispatchEvent = function(a, k) {
      var d, b = 1 == k ? this._captureListeners : this._listeners;
      if (a && b && (b = b[a.type]) && (d = b.length)) {
          a.currentTarget = this;
          a.eventPhase = k;
          a.removed = !1;
          for (var b = b.slice(),
                  c = 0; d > c && !a.immediatePropagationStopped; c++) {
              var f = b[c];
              f.handleEvent ? f.handleEvent(a) : f(a);
              a.removed && (this.off(a.type, f, 1 == k), a.removed = !1)
          }
      }
  };
  createjs.EventDispatcher = c
})();
this.createjs = this.createjs || {};
(function() {
  createjs.indexOf = function(c, b) {
      for (var a = 0, k = c.length; k > a; a++)
          if (b === c[a])
              return a;
      return-1
  }
})();
this.createjs = this.createjs || {};
(function() {
  var c = function() {
      throw"UID cannot be instantiated";
  };
  c._nextID = 0;
  c.get = function() {
      return c._nextID++
  };
  createjs.UID = c
})();
this.createjs = this.createjs || {};
(function() {
  var c = function() {
      throw"Ticker cannot be instantiated.";
  };
  c.RAF_SYNCHED = "synched";
  c.RAF = "raf";
  c.TIMEOUT = "timeout";
  c.useRAF = !1;
  c.timingMode = null;
  c.maxDelta = 0;
  c.removeEventListener = null;
  c.removeAllEventListeners = null;
  c.dispatchEvent = null;
  c.hasEventListener = null;
  c._listeners = null;
  createjs.EventDispatcher.initialize(c);
  c._addEventListener = c.addEventListener;
  c.addEventListener = function() {
      return!c._inited && c.init(), c._addEventListener.apply(c, arguments)
  };
  c._paused = !1;
  c._inited = !1;
  c._startTime =
          0;
  c._pausedTime = 0;
  c._ticks = 0;
  c._pausedTicks = 0;
  c._interval = 50;
  c._lastTime = 0;
  c._times = null;
  c._tickTimes = null;
  c._timerId = null;
  c._raf = !0;
  c.init = function() {
      c._inited || (c._inited = !0, c._times = [], c._tickTimes = [], c._startTime = 
      c._getTime(), c._times.push(c._lastTime = 0), c.setInterval(c._interval))
  };
  c.reset = function() {
      if (c._raf) {
          var a = window.cancelAnimationFrame || window.webkitCancelAnimationFrame ||
          window.mozCancelAnimationFrame || window.oCancelAnimationFrame || 
          window.msCancelAnimationFrame;
          a && a(c._timerId)
      } else
          clearTimeout(c._timerId);
      c.removeAllEventListeners("tick")
  };
  c.setInterval = function(a) {
      c._interval = a;
      c._inited && c._setupTick()
  };
  c.getInterval = function() {
      return c._interval
  };
  c.setFPS = function(a) {
      c.setInterval(1E3 / a)
  };
  c.getFPS = function() {
      return 1E3 / c._interval
  };
  c.getMeasuredTickTime = function(a) {
      var k = 0, d = c._tickTimes;
      if (1 > d.length)
          return-1;
      a = Math.min(d.length, a || 0 | c.getFPS());
      for (var b = 0; a > b; b++)
          k += d[b];
      return k / a
  };
  c.getMeasuredFPS = function(a) {
      var k = c._times;
      return 2 > k.length ? -1 : (a = Math.min(k.length - 1, a || 0 | c.getFPS()), 
      1E3 / ((k[0] -
              k[a]) / a))
  };
  c.setPaused = function(a) {
      c._paused = a
  };
  c.getPaused = function() {
      return c._paused
  };
  c.getTime = function(a) {
      return c._getTime() - c._startTime - (a ? c._pausedTime : 0)
  };
  c.getEventTime = function(a) {
      return(c._lastTime || c._startTime) - (a ? c._pausedTime : 0)
  };
  c.getTicks = function(a) {
      return c._ticks - (a ? c._pausedTicks : 0)
  };
  c._handleSynch = function() {
      var a = c._getTime() - c._startTime;
      c._timerId = null;
      c._setupTick();
      a - c._lastTime >= 0.97 * (c._interval - 1) && c._tick()
  };
  c._handleRAF = function() {
      c._timerId = null;
      c._setupTick();
      c._tick()
  };
  c._handleTimeout = function() {
      c._timerId = null;
      c._setupTick();
      c._tick()
  };
  c._setupTick = function() {
      if (null == c._timerId) {
          var a = c.timingMode || c.useRAF && c.RAF_SYNCHED;
          if (a == c.RAF_SYNCHED || a == c.RAF) {
              var k = window.requestAnimationFrame || window.webkitRequestAnimationFrame ||
              window.mozRequestAnimationFrame || window.oRequestAnimationFrame || 
              window.msRequestAnimationFrame;
              if (k)
                  return c._timerId = k(a == c.RAF ? c._handleRAF : c._handleSynch), 
                  c._raf = !0, void 0
          }
          c._raf = !1;
          c._timerId = setTimeout(c._handleTimeout, c._interval)
      }
  };
  c._tick = function() {
      var a = c._getTime() - c._startTime, k = a - c._lastTime, d = c._paused;
      if (c._ticks++, d && (c._pausedTicks++, c._pausedTime += k), c._lastTime = a, 
      c.hasEventListener("tick")) {
          var b = new createjs.Event("tick"), e = c.maxDelta;
          b.delta = e && k > e ? e : k;
          b.paused = d;
          b.time = a;
          b.runTime = a - c._pausedTime;
          c.dispatchEvent(b)
      }
      for (c._tickTimes.unshift(c._getTime() - a); 100 < c._tickTimes.length; )
          c._tickTimes.pop();
      for (c._times.unshift(a); 100 < c._times.length; )
          c._times.pop()
  };
  var b = window.performance && (performance.now || performance.mozNow ||
          performance.msNow || performance.oNow || performance.webkitNow);
  c._getTime = function() {
      return b && b.call(performance) || (new Date).getTime()
  };
  createjs.Ticker = c
})();
this.createjs = this.createjs || {};
(function() {
  var c = function(a, d, b, c, f, h, l, m, n, p) {
      this.initialize(a, d, b, c, f, h, l, m, n, p)
  }, b = c.prototype = new createjs.Event;
  b.stageX = 0;
  b.stageY = 0;
  b.rawX = 0;
  b.rawY = 0;
  b.nativeEvent = null;
  b.pointerID = 0;
  b.primary = !1;
  b.addEventListener = null;
  b.removeEventListener = null;
  b.removeAllEventListeners = null;
  b.dispatchEvent = null;
  b.hasEventListener = null;
  b._listeners = null;
  createjs.EventDispatcher.initialize(b);
  b._get_localX = function() {
      return this.currentTarget.globalToLocal(this.rawX, this.rawY).x
  };
  b._get_localY = function() {
      return this.currentTarget.globalToLocal(this.rawX,
              this.rawY).y
  };
  try {
      Object.defineProperties(b, {localX: {get: b._get_localX}, localY: {get: 
      b._get_localY}})
  } catch (a) {
  }
  b.Event_initialize = b.initialize;
  b.initialize = function(a, d, b, c, f, h, l, m, n, p) {
      this.Event_initialize(a, d, b);
      this.stageX = c;
      this.stageY = f;
      this.nativeEvent = h;
      this.pointerID = l;
      this.primary = m;
      this.rawX = null == n ? c : n;
      this.rawY = null == p ? f : p
  };
  b.clone = function() {
      return new c(this.type, this.bubbles, this.cancelable, this.stageX, this.stageY, 
      this.target, this.nativeEvent, this.pointerID, this.primary, this.rawX,
              this.rawY)
  };
  b.toString = function() {
      return"[MouseEvent (type=" + this.type + " stageX=" + this.stageX + " stageY=" + 
      this.stageY + ")]"
  };
  createjs.MouseEvent = c
})();
this.createjs = this.createjs || {};
(function() {
  var c = function(a, b, d, g, c, f) {
      this.initialize(a, b, d, g, c, f)
  }, b = c.prototype;
  c.identity = null;
  c.DEG_TO_RAD = Math.PI / 180;
  b.a = 1;
  b.b = 0;
  b.c = 0;
  b.d = 1;
  b.tx = 0;
  b.ty = 0;
  b.alpha = 1;
  b.shadow = null;
  b.compositeOperation = null;
  b.initialize = function(a, b, d, g, c, f) {
      return this.a = null == a ? 1 : a, this.b = b || 0, this.c = d || 0, this.d = 
      null == g ? 1 : g, this.tx = c || 0, this.ty = f || 0, this
  };
  b.prepend = function(a, b, d, g, c, f) {
      var h = this.tx;
      if (1 != a || 0 != b || 0 != d || 1 != g) {
          var l = this.a, m = this.c;
          this.a = l * a + this.b * d;
          this.b = l * b + this.b * g;
          this.c = m * a + this.d *
                  d;
          this.d = m * b + this.d * g
      }
      return this.tx = h * a + this.ty * d + c, this.ty = h * b + this.ty * g + f, this
  };
  b.append = function(a, b, d, g, c, f) {
      var h = this.a, l = this.b, m = this.c, n = this.d;
      return this.a = a * h + b * m, this.b = a * l + b * n, this.c = d * h + g * m, 
      this.d = d * l + g * n, this.tx = c * h + f * m + this.tx, this.ty = c * l + f * n + 
      this.ty, this
  };
  b.prependMatrix = function(a) {
      return this.prepend(a.a, a.b, a.c, a.d, a.tx, a.ty), this.prependProperties(a.alpha, 
      a.shadow, a.compositeOperation), this
  };
  b.appendMatrix = function(a) {
      return this.append(a.a, a.b, a.c, a.d, a.tx, a.ty), this.appendProperties(a.alpha,
              a.shadow, a.compositeOperation), this
  };
  b.prependTransform = function(a, b, d, g, e, f, h, l, m) {
      if (e % 360) {
          var n = e * c.DEG_TO_RAD;
          e = Math.cos(n);
          n = Math.sin(n)
      } else
          e = 1, n = 0;
      return(l || m) && (this.tx -= l, this.ty -= m), f || h ? (f *= c.DEG_TO_RAD, h *=
      c.DEG_TO_RAD, this.prepend(e * d, n * d, -n * g, e * g, 0, 0), this.prepend(
      Math.cos(h), Math.sin(h), -Math.sin(f), Math.cos(f), a, b)) : this.prepend(
      e * d, n * d, -n * g, e * g, a, b), this
  };
  b.appendTransform = function(a, b, d, g, e, f, h, l, m) {
      if (e % 360) {
          var n = e * c.DEG_TO_RAD;
          e = Math.cos(n);
          n = Math.sin(n)
      } else
          e = 1, n = 0;
      return f ||
              h ? (f *= c.DEG_TO_RAD, h *= c.DEG_TO_RAD, this.append(Math.cos(h), 
              Math.sin(h), -Math.sin(f), Math.cos(f), a, b), this.append(
              e * d, n * d, -n * g, e * g, 0, 0)) : this.append(
              e * d, n * d, -n * g, e * g, a, b), (l || m) && (
              this.tx -= l * this.a + m * this.c, this.ty -= l * this.b + m * this.d), 
              this
  };
  b.rotate = function(a) {
      var b = Math.cos(a);
      a = Math.sin(a);
      var d = this.a, g = this.c, c = this.tx;
      return this.a = d * b - this.b * a, this.b = d * a + this.b * b, this.c = g * 
      b - this.d * a, this.d = g * a + this.d * b, this.tx = c * b - this.ty * a,
      this.ty = c * a + this.ty * b, this
  };
  b.skew = function(a, b) {
      return a *= c.DEG_TO_RAD,
              b *= c.DEG_TO_RAD, this.append(Math.cos(b), Math.sin(b), -Math.sin(a), 
              Math.cos(a), 0, 0), this
  };
  b.scale = function(a, b) {
      return this.a *= a, this.d *= b, this.c *= a, this.b *= b, this.tx *= a, this.ty
      *= b, this
  };
  b.translate = function(a, b) {
      return this.tx += a, this.ty += b, this
  };
  b.identity = function() {
      return this.alpha = this.a = this.d = 1, this.b = this.c = this.tx = this.ty = 0, 
      this.shadow = this.compositeOperation = null, this
  };
  b.invert = function() {
      var a = this.a, b = this.b, d = this.c, g = this.d, c = this.tx, f = a * g - b * d;
      return this.a = g / f, this.b = -b / f, this.c = -d /
              f, this.d = a / f, this.tx = (d * this.ty - g * c) / f, this.ty = -(a * 
              this.ty - b * c) / f, this
  };
  b.isIdentity = function() {
      return 0 == this.tx && 0 == this.ty && 1 == this.a && 0 == this.b && 0 == this.c
      && 1 == this.d
  };
  b.transformPoint = function(a, b, d) {
      return d = d || {}, d.x = a * this.a + b * this.c + this.tx, d.y = a * this.b + b
      * this.d + this.ty, d
  };
  b.decompose = function(a) {
      null == a && (a = {});
      a.x = this.tx;
      a.y = this.ty;
      a.scaleX = Math.sqrt(this.a * this.a + this.b * this.b);
      a.scaleY = Math.sqrt(this.c * this.c + this.d * this.d);
      var b = Math.atan2(-this.c, this.d), d = Math.atan2(this.b, this.a);
      return b == d ? (a.rotation = d / c.DEG_TO_RAD, 0 > this.a && 0 <= this.d && (
      a.rotation += 0 >= a.rotation ? 180 : -180), a.skewX = a.skewY = 0) : (
      a.skewX = b / c.DEG_TO_RAD, a.skewY = d / c.DEG_TO_RAD), a
  };
  b.reinitialize = function(a, b, d, g, c, f, h, l, m) {
      return this.initialize(a, b, d, g, c, f), this.alpha = null == h ? 1 : h, 
      this.shadow = l, this.compositeOperation = m, this
  };
  b.copy = function(a) {
      return this.reinitialize(a.a, a.b, a.c, a.d, a.tx, a.ty, a.alpha, a.shadow,
      a.compositeOperation)
  };
  b.appendProperties = function(a, b, d) {
      return this.alpha *= a, this.shadow = b || this.shadow,
              this.compositeOperation = d || this.compositeOperation, this
  };
  b.prependProperties = function(a, b, d) {
      return this.alpha *= a, this.shadow = this.shadow || b, this.compositeOperation = 
      this.compositeOperation || d, this
  };
  b.clone = function() {
      return(new c).copy(this)
  };
  b.toString = function() {
      return"[Matrix2D (a=" + this.a + " b=" + this.b + " c=" + this.c + " d=" + this.d + 
      " tx=" + this.tx + " ty=" + this.ty + ")]"
  };
  c.identity = new c;
  createjs.Matrix2D = c
})();

源码

需要源码请关注添加好友哦^ ^

转载:欢迎来到本站,转载请注明文章出处https://ormcc.com/

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/1380045.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

BSC/平衡记分卡

一、Balanced Score Card BSC即平衡计分卡&#xff08;Balanced Score Card&#xff09;&#xff0c;是常见的绩效考核方式之一&#xff0c;是从财务、客户、内部运营、学习与成长四个角度&#xff0c;将组织的战略落实为可操作的衡量指标和目标值的一种新型绩效管理体系。 是…

关于lombok插件的使用

在 idea 中有个非常好用的插件 lombok&#xff0c;可以用来在实体类中自动生成 get 、set以及构造方法&#xff0c;下面我们来学习如何使用它&#xff1a; 首先打开settings&#xff0c;按照以下方法&#xff1a; 到 marketplace 中搜索 lombok&#xff0c;我这里已经安装好了…

STM32——OLED实验

1.OLED简介 OLED&#xff0c;即有机发光二极管 OLED引脚说明 引脚说明&#xff1a; 1、CS&#xff1a;OLED片选信号&#xff08;低电平有效&#xff09; 2、WR&#xff1a;向OLED写入数据 3、RD&#xff1a;向OLED读取数据 4、D[7:0]&#xff1a;8位双向数据线&#xff0c;有…

本地静态资源打包出来,本地配置ng访问服务器(uniapp打包成h5后,使用打包资源连接测试环境测试)

1.下载ng https://nginx.org/en/download.html 2.解压下载的压缩包 3.打包h5静态资源 4.将打包出来的资源放入ng -》html文件夹下面 5.进入ng-》conf-》nginx.conf 进行转发配置 6.启动ng服务&#xff0c;点击nginx.exe 7.浏览器直接访问http://localhost:8081/#/&#x…

element-ui el-table表格勾选框条件禁用,及全勾选按钮禁用, 记录

项目场景&#xff1a; 表格的部分内容是可以被勾选的&#xff0c;部分内容是不可以被勾选的 使用的是 “element-plus”: “^2.2.22”, 以上应该都是兼容的 问题描述 要求el-table表格中&#xff0c;部分内容不可以被勾选&#xff0c;全选框在没有可选内容时&#xff0c;是禁…

日志审计系统Agent项目创建——获取Linux的ip并将得到的日志插入数据库中(Linux版本)

上一篇文章可以直接展示系统在运行过程中的日志&#xff0c;读取日志文件https://blog.csdn.net/wjl990316fddwjl/article/details/135553685 如何将得到的日志插入数据表中&#xff0c;进行更可观的展示&#xff1f; 1、创建表格并执行&#xff0c;可以看到数据库已经创建好…

基于ssm的校园预点餐系统(有报告)。Javaee项目。ssm项目。

演示视频&#xff1a; 基于ssm的校园预点餐系统&#xff08;有报告&#xff09;。Javaee项目。ssm项目。 项目介绍&#xff1a; 采用M&#xff08;model&#xff09;V&#xff08;view&#xff09;C&#xff08;controller&#xff09;三层体系结构&#xff0c;通过Spring Sp…

前端规范扩展

前端编程规范是基于原有vue2基础上那套《编码风格及标准》上&#xff0c;应用于vue3、typescript、vite2基础上延伸出来的扩展补充&#xff0c;持续完善 一、编码规范 ESLint 代码检测工具 Pretter 代码格式化工具配合双校验代码 Git 规范 - 编码工具 vscode 同步参考文档中…

用通俗易懂的方式讲解:如何用大语言模型构建一个知识问答系统

传统搜索系统基于关键字匹配&#xff0c;在面向&#xff1a;游戏攻略、技术图谱、知识库等业务场景时&#xff0c;缺少对用户问题理解和答案二次处理能力。 本文探索使用大语言模型&#xff08;Large Language Model, LLM&#xff09;&#xff0c;通过其对自然语言理解和生成的…

APP自动化测试(超详细)

在实习过程中&#xff0c;我接触到了一些SDL安全提测的工作。原来我是学web端渗透比较多的&#xff0c;移动端这块基本没怎么试过手&#xff0c;结果刚开始一直踩坑&#xff0c;连抓包都抓不到(&#xff34;▽&#xff34;)。 下面记录下我遇到的部分问题和解决方法&#xff0…

有没有可以拖拉拽生成一个低代码平台?

据我所知&#xff0c;低代码平台都能拖拉拽生成。作为一组数字技术工具平台&#xff0c;它能基于图形化拖拽、参数化配置等更为高效的方式&#xff0c;实现快速构建、数据编排、连接生态、中台服务等。通过少量代码或不用代码实现数字化转型中的场景应用创新。 到底啥是低代码&…

【深度学习目标检测】十六、基于深度学习的麦穗头系统-含GUI和源码(python,yolov8)

全球麦穗检测是植物表型分析领域的一个挑战&#xff0c;主要目标是检测图像中的小麦麦穗。这种检测在农业领域具有重要意义&#xff0c;可以帮助农民评估作物的健康状况和成熟度。然而&#xff0c;由于小麦麦穗在视觉上具有挑战性&#xff0c;准确检测它们是一项艰巨的任务。 全…

c++算法之枚举

目录 解空间的类型 循环枚举解空间 例题 特别数的和 输入格式 输出格式 输入样例&#xff1a; 输出样例&#xff1a; 解 例题 反倍数 问题描述 输入格式 输出格式 样例输入 样例输出 解 例题 找到最多的数 解 枚举算法是一种基本的算法思想&#xff0c;它通过…

leaflet:加载本地shp文件,并在地图上显示出来 (138)

第138个 点击查看专栏目录 本示例的目的是介绍演示如何在vue+leaflet中加载本地shp文件,利用shapefile读取shp数据,转换为json,利用L.geoJSON()在地图上显示图形。 直接复制下面的 vue+leaflet源代码,操作2分钟即可运行实现效果 文章目录 示例效果安装加载shapefile.js配…

记录汇川:H5U与Factory IO测试12

主程序&#xff1a; 子程序&#xff1a; IO映射 子程序&#xff1a; 辅助出料 子程序&#xff1a; 自动程序 Factory IO配置&#xff1a; 实际动作如下&#xff1a; Factory IO测试12

2023极客大挑战web小记

拿到题目提示post传参还以为是道签到题 刚开始直接把自己极客大挑战的username以及password怼上去&#xff0c;但是不对。看看F12&#xff0c;有提示。 当一个搜索蜘蛛访问一个站点时&#xff0c;它会首先检查该站点根目录下是否存在robots.txt&#xff0c;如果存在&#xff0c…

如何提高混合云项目的成功率

企业正在将工作负载迁移到公共云并在内部实施私有云。随着这些形式的云计算不断扩展&#xff0c;大型和小型企业都专注于混合云策略&#xff0c;以桥接两种模型并形成混合云环境。 企业正在将工作负载迁移到公共云并在内部实施私有云。随着这些形式的云计算不断扩展&#xff0…

图像中部分RGB矩阵可视化

图像中部分RGB可视化 今天室友有个需求就是模仿下面这张图画个示意图&#xff1a; 大致就是把图像中的一小部分区域的RGB值可视化了一下。他居然不知道该怎么画&#xff0c;我寻思这不直接秒了。 import cv2 as cv import numpy as np import matplotlib.pyplot as pltclass …

Flink定制化功能开发,demo代码

前言&#xff1a; 这是一个Flink自定义开发的基础教学。本文将通过flink的DataStream模块API&#xff0c;以kafka为数据源&#xff0c;构建一个基础测试环境&#xff1b;包含一个kafka生产者线程工具&#xff0c;一个自定义FilterFunction算子&#xff0c;一个自定义MapFunctio…

uniapp中uview组件库丰富的CountTo 数字滚动使用方法

目录 #平台差异说明 #基本使用 #设置滚动相关参数 #是否显示小数位 #千分位分隔符 #滚动执行的时机 #API #Props #Methods #Event 该组件一般用于需要滚动数字到某一个值的场景&#xff0c;目标要求是一个递增的值。 注意 如果给组件的父元素设置text-align: cente…