-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
4 lines (4 loc) · 23.8 KB
/
index.html
1
2
3
4
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=2"><meta name="theme-color" content="#222"><meta name="generator" content="Hexo 5.4.0"><link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png"><link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png"><link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png"><link rel="mask-icon" href="/images/logo.svg" color="#222"><link rel="stylesheet" href="/css/main.css"><link rel="stylesheet" href="/lib/font-awesome/css/all.min.css"><script id="hexo-configurations">var NexT=window.NexT||{},CONFIG={hostname:"fl1906.xyz",root:"/",scheme:"Pisces",version:"7.8.0",exturl:!1,sidebar:{position:"left",display:"post",padding:18,offset:12,onmobile:!1},copycode:{enable:!1,show_result:!1,style:null},back2top:{enable:!0,sidebar:!1,scrollpercent:!1},bookmark:{enable:!1,color:"#222",save:"auto"},fancybox:!1,mediumzoom:!1,lazyload:!1,pangu:!1,comments:{style:"tabs",active:null,storage:!0,lazyload:!1,nav:null},algolia:{hits:{per_page:10},labels:{input_placeholder:"Search for Posts",hits_empty:"We didn't find any results for the search: ${query}",hits_stats:"${hits} results found in ${time} ms"}},localsearch:{enable:!1,trigger:"auto",top_n_per_article:1,unescape:!1,preload:!1},motion:{enable:!0,async:!1,transition:{post_block:"fadeIn",post_header:"slideDownIn",post_body:"slideDownIn",coll_header:"slideLeftIn",sidebar:"slideUpIn"}}}</script><meta name="description" content="QQ:1906249647"><meta property="og:type" content="website"><meta property="og:title" content="风离的博客"><meta property="og:url" content="https://fl1906.xyz/index.html"><meta property="og:site_name" content="风离的博客"><meta property="og:description" content="QQ:1906249647"><meta property="og:locale" content="zh_CN"><meta property="article:author" content="风离"><meta name="twitter:card" content="summary"><link rel="canonical" href="https://fl1906.xyz/"><script id="page-configurations">CONFIG.page={sidebar:"",isHome:!0,isPost:!1,lang:"zh-CN"}</script><title>风离的博客</title><noscript><style>.sidebar-inner,.use-motion .brand,.use-motion .collection-header,.use-motion .comments,.use-motion .menu-item,.use-motion .pagination,.use-motion .post-block,.use-motion .post-body,.use-motion .post-header{opacity:initial}.use-motion .site-subtitle,.use-motion .site-title{opacity:initial;top:initial}.use-motion .logo-line-before i{left:initial}.use-motion .logo-line-after i{right:initial}</style></noscript><link rel="stylesheet" href="/assets/css/APlayer.min.css" class="aplayer-style-marker">
<script src="/assets/js/APlayer.min.js" class="aplayer-script-marker"></script>
<script src="/assets/js/Meting.min.js" class="meting-script-marker"></script>
</head><body itemscope itemtype="http://schema.org/WebPage"><div class="container use-motion"><div class="headband"></div><header class="header" itemscope itemtype="http://schema.org/WPHeader"><div class="header-inner"><div class="site-brand-container"><div class="site-nav-toggle"><div class="toggle" aria-label="切换导航栏"><span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span></div></div><div class="site-meta"><a href="/" class="brand" rel="start"><span class="logo-line-before"><i></i></span><h1 class="site-title">风离的博客</h1><span class="logo-line-after"><i></i></span></a><p class="site-subtitle" itemprop="description">“她的眼睛 足够温柔~”</p></div><div class="site-nav-right"><div class="toggle popup-trigger"></div></div></div><nav class="site-nav"><ul id="menu" class="main-menu menu"><li class="menu-item menu-item-home"><a href="/" rel="section"><i class="fa fa-home fa-fw"></i>首页</a></li><li class="menu-item menu-item-tags"><a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>标签</a></li><li class="menu-item menu-item-categories"><a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>分类</a></li><li class="menu-item menu-item-about"><a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>关于</a></li></ul></nav></div></header><div class="back-to-top"><i class="fa fa-arrow-up"></i> <span>0%</span></div><main class="main"><div class="main-inner"><div class="content-wrap"><div class="content index posts-expand"><article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN"><link itemprop="mainEntityOfPage" href="https://fl1906.xyz/2021/03/10/JDK%E5%8A%A8%E6%80%81%E4%BB%A3%E7%90%86/"><span hidden itemprop="author" itemscope itemtype="http://schema.org/Person"><meta itemprop="image" content="/images/avatar.jpg"><meta itemprop="name" content="风离"><meta itemprop="description" content="QQ:1906249647"></span><span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization"><meta itemprop="name" content="风离的博客"></span><header class="post-header"><h2 class="post-title" itemprop="name headline"><a href="/2021/03/10/JDK%E5%8A%A8%E6%80%81%E4%BB%A3%E7%90%86/" class="post-title-link" itemprop="url">JDK动态代理</a></h2><div class="post-meta"><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-calendar"></i> </span><span class="post-meta-item-text">发表于</span> <time title="创建时间:2021-03-10 01:31:22 / 修改时间:01:34:02" itemprop="dateCreated datePublished" datetime="2021-03-10T01:31:22+08:00">2021-03-10</time> </span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-folder"></i> </span><span class="post-meta-item-text">分类于</span> <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/mybatis%E6%A1%86%E6%9E%B6/" itemprop="url" rel="index"><span itemprop="name">mybatis框架</span></a> </span></span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-comment"></i> </span><span class="post-meta-item-text">Valine:</span> <a title="valine" href="/2021/03/10/JDK%E5%8A%A8%E6%80%81%E4%BB%A3%E7%90%86/#valine-comments" itemprop="discussionUrl"><span class="post-comments-count valine-comment-count" data-xid="/2021/03/10/JDK%E5%8A%A8%E6%80%81%E4%BB%A3%E7%90%86/" itemprop="commentCount"></span></a></span></div></header><div class="post-body" itemprop="articleBody"><h2 id="JDK动态代理与mybatis-sqlsession-getMapper"><a href="#JDK动态代理与mybatis-sqlsession-getMapper" class="headerlink" title="JDK动态代理与mybatis sqlsession.getMapper()"></a>JDK动态代理与mybatis sqlsession.getMapper()</h2><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.10/dist/APlayer.min.css"><script src="https://cdn.jsdelivr.net/npm/aplayer@1.10/dist/APlayer.min.js"></script><script src="https://cdn.jsdelivr.net/npm/meting@1.2/dist/Meting.min.js"></script><div id="aplayer-CiegGocZ" class="aplayer aplayer-tag-marker meting-tag-marker" data-id="1494805012" data-server="netease" data-type="song" data-mode="circulation" data-autoplay="false" data-mutex="true" data-listmaxheight="340px" data-preload="auto" data-theme="#555"></div><div class="post-button"><a class="btn" href="/2021/03/10/JDK%E5%8A%A8%E6%80%81%E4%BB%A3%E7%90%86/#more" rel="contents">阅读全文 »</a></div></div><footer class="post-footer"><div class="post-eof"></div></footer></article><article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN"><link itemprop="mainEntityOfPage" href="https://fl1906.xyz/2021/03/09/mybatis%E5%85%A5%E9%97%A8%E6%A1%88%E4%BE%8B-1/"><span hidden itemprop="author" itemscope itemtype="http://schema.org/Person"><meta itemprop="image" content="/images/avatar.jpg"><meta itemprop="name" content="风离"><meta itemprop="description" content="QQ:1906249647"></span><span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization"><meta itemprop="name" content="风离的博客"></span><header class="post-header"><h2 class="post-title" itemprop="name headline"><a href="/2021/03/09/mybatis%E5%85%A5%E9%97%A8%E6%A1%88%E4%BE%8B-1/" class="post-title-link" itemprop="url">mybatis入门案例</a></h2><div class="post-meta"><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-calendar"></i> </span><span class="post-meta-item-text">发表于</span> <time title="创建时间:2021-03-09 12:06:42" itemprop="dateCreated datePublished" datetime="2021-03-09T12:06:42+08:00">2021-03-09</time> </span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-calendar-check"></i> </span><span class="post-meta-item-text">更新于</span> <time title="修改时间:2021-03-10 01:32:19" itemprop="dateModified" datetime="2021-03-10T01:32:19+08:00">2021-03-10</time> </span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-folder"></i> </span><span class="post-meta-item-text">分类于</span> <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/mybatis%E6%A1%86%E6%9E%B6/" itemprop="url" rel="index"><span itemprop="name">mybatis框架</span></a> </span></span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-comment"></i> </span><span class="post-meta-item-text">Valine:</span> <a title="valine" href="/2021/03/09/mybatis%E5%85%A5%E9%97%A8%E6%A1%88%E4%BE%8B-1/#valine-comments" itemprop="discussionUrl"><span class="post-comments-count valine-comment-count" data-xid="/2021/03/09/mybatis%E5%85%A5%E9%97%A8%E6%A1%88%E4%BE%8B-1/" itemprop="commentCount"></span></a></span></div></header><div class="post-body" itemprop="articleBody"><h2 id="mybatis入门案例"><a href="#mybatis入门案例" class="headerlink" title="mybatis入门案例"></a>mybatis入门案例</h2><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/aplayer@1.10/dist/APlayer.min.css"><script src="https://cdn.jsdelivr.net/npm/aplayer@1.10/dist/APlayer.min.js"></script><script src="https://cdn.jsdelivr.net/npm/meting@1.2/dist/Meting.min.js"></script><div id="aplayer-fPFHGOGo" class="aplayer aplayer-tag-marker meting-tag-marker" data-id="1312338729" data-server="netease" data-type="song" data-mode="circulation" data-autoplay="false" data-mutex="true" data-listmaxheight="340px" data-preload="auto" data-theme="#555"></div><div class="post-button"><a class="btn" href="/2021/03/09/mybatis%E5%85%A5%E9%97%A8%E6%A1%88%E4%BE%8B-1/#more" rel="contents">阅读全文 »</a></div></div><footer class="post-footer"><div class="post-eof"></div></footer></article><article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN"><link itemprop="mainEntityOfPage" href="https://fl1906.xyz/2021/03/01/IDEA%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AE%E4%BB%A5%E5%8F%8AJDK/"><span hidden itemprop="author" itemscope itemtype="http://schema.org/Person"><meta itemprop="image" content="/images/avatar.jpg"><meta itemprop="name" content="风离"><meta itemprop="description" content="QQ:1906249647"></span><span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization"><meta itemprop="name" content="风离的博客"></span><header class="post-header"><h2 class="post-title" itemprop="name headline"><a href="/2021/03/01/IDEA%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AE%E4%BB%A5%E5%8F%8AJDK/" class="post-title-link" itemprop="url">IDEA配置及JDK有手就行安装</a></h2><div class="post-meta"><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-calendar"></i> </span><span class="post-meta-item-text">发表于</span> <time title="创建时间:2021-03-01 19:05:24" itemprop="dateCreated datePublished" datetime="2021-03-01T19:05:24+08:00">2021-03-01</time> </span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-calendar-check"></i> </span><span class="post-meta-item-text">更新于</span> <time title="修改时间:2021-03-02 21:03:03" itemprop="dateModified" datetime="2021-03-02T21:03:03+08:00">2021-03-02</time> </span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-folder"></i> </span><span class="post-meta-item-text">分类于</span> <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/%E8%BD%AF%E4%BB%B6%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AE/" itemprop="url" rel="index"><span itemprop="name">软件安装配置</span></a> </span></span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-comment"></i> </span><span class="post-meta-item-text">Valine:</span> <a title="valine" href="/2021/03/01/IDEA%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AE%E4%BB%A5%E5%8F%8AJDK/#valine-comments" itemprop="discussionUrl"><span class="post-comments-count valine-comment-count" data-xid="/2021/03/01/IDEA%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AE%E4%BB%A5%E5%8F%8AJDK/" itemprop="commentCount"></span></a></span></div></header><div class="post-body" itemprop="articleBody"><h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><blockquote><p>如果同学们是初次进行Java开发(还不会hello,world的那种,建议直接使用idea来玩,别用垃圾eclipse了,页面不好看而且配置还挺麻烦的:)</p></blockquote><div class="post-button"><a class="btn" href="/2021/03/01/IDEA%E5%AE%89%E8%A3%85%E9%85%8D%E7%BD%AE%E4%BB%A5%E5%8F%8AJDK/#more" rel="contents">阅读全文 »</a></div></div><footer class="post-footer"><div class="post-eof"></div></footer></article><article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN"><link itemprop="mainEntityOfPage" href="https://fl1906.xyz/2021/02/28/%E7%88%B1%E7%94%9F%E6%B0%94%E7%9A%84%E4%B9%A6%E5%BA%97%E8%80%81%E6%9D%BF/"><span hidden itemprop="author" itemscope itemtype="http://schema.org/Person"><meta itemprop="image" content="/images/avatar.jpg"><meta itemprop="name" content="风离"><meta itemprop="description" content="QQ:1906249647"></span><span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization"><meta itemprop="name" content="风离的博客"></span><header class="post-header"><h2 class="post-title" itemprop="name headline"><a href="/2021/02/28/%E7%88%B1%E7%94%9F%E6%B0%94%E7%9A%84%E4%B9%A6%E5%BA%97%E8%80%81%E6%9D%BF/" class="post-title-link" itemprop="url">爱生气的书店老板</a></h2><div class="post-meta"><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-calendar"></i> </span><span class="post-meta-item-text">发表于</span> <time title="创建时间:2021-02-28 11:23:24" itemprop="dateCreated datePublished" datetime="2021-02-28T11:23:24+08:00">2021-02-28</time> </span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-calendar-check"></i> </span><span class="post-meta-item-text">更新于</span> <time title="修改时间:2021-03-02 21:36:26" itemprop="dateModified" datetime="2021-03-02T21:36:26+08:00">2021-03-02</time> </span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-folder"></i> </span><span class="post-meta-item-text">分类于</span> <span itemprop="about" itemscope itemtype="http://schema.org/Thing"><a href="/categories/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84%E4%B8%8E%E7%AE%97%E6%B3%95/" itemprop="url" rel="index"><span itemprop="name">数据结构与算法</span></a> </span></span><span class="post-meta-item"><span class="post-meta-item-icon"><i class="far fa-comment"></i> </span><span class="post-meta-item-text">Valine:</span> <a title="valine" href="/2021/02/28/%E7%88%B1%E7%94%9F%E6%B0%94%E7%9A%84%E4%B9%A6%E5%BA%97%E8%80%81%E6%9D%BF/#valine-comments" itemprop="discussionUrl"><span class="post-comments-count valine-comment-count" data-xid="/2021/02/28/%E7%88%B1%E7%94%9F%E6%B0%94%E7%9A%84%E4%B9%A6%E5%BA%97%E8%80%81%E6%9D%BF/" itemprop="commentCount"></span></a></span></div></header><div class="post-body" itemprop="articleBody"><h2 id="题目要求"><a href="#题目要求" class="headerlink" title="题目要求"></a>题目要求</h2><blockquote><figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br></pre></td><td class="code"><pre><span class="line">* 今天,书店老板有一家店打算试营业 customers.length 分钟。每分钟都有一些顾客(customers[i])会进入书店,</span><br><span class="line">* 所有这些顾客都会在那一分钟结束后离开。</span><br><span class="line">* 在某些时候,书店老板会生气。 如果书店老板在第 i 分钟生气,那么 grumpy[i] = 1,否则 grumpy[i] = 0。</span><br><span class="line">* 当书店老板生气时,那一分钟的顾客就会不满意,不生气则他们是满意的。</span><br><span class="line">* 书店老板知道一个秘密技巧,能抑制自己的情绪,可以让自己连续 X 分钟不生气,但却只能使用一次。</span><br><span class="line">* 请你返回这一天营业下来,最多有多少客户能够感到满意的数量</span><br></pre></td></tr></table></figure></blockquote><div class="post-button"><a class="btn" href="/2021/02/28/%E7%88%B1%E7%94%9F%E6%B0%94%E7%9A%84%E4%B9%A6%E5%BA%97%E8%80%81%E6%9D%BF/#more" rel="contents">阅读全文 »</a></div></div><footer class="post-footer"><div class="post-eof"></div></footer></article></div><script>window.addEventListener("tabs:register",()=>{let{activeClass:t}=CONFIG.comments;if(CONFIG.comments.storage&&(t=localStorage.getItem("comments_active")||t),t){let e=document.querySelector(`a[href="#comment-${t}"]`);e&&e.click()}}),CONFIG.comments.storage&&window.addEventListener("tabs:click",t=>{if(!t.target.matches(".tabs-comment .tab-content .tab-pane"))return;let e=t.target.classList[1];localStorage.setItem("comments_active",e)})</script></div><div class="toggle sidebar-toggle"><span class="toggle-line toggle-line-first"></span> <span class="toggle-line toggle-line-middle"></span> <span class="toggle-line toggle-line-last"></span></div><aside class="sidebar"><div class="sidebar-inner"><ul class="sidebar-nav motion-element"><li class="sidebar-nav-toc">文章目录</li><li class="sidebar-nav-overview">站点概览</li></ul><div class="post-toc-wrap sidebar-panel"></div><div class="site-overview-wrap sidebar-panel"><div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person"><img class="site-author-image" itemprop="image" alt="风离" src="/images/avatar.jpg"><p class="site-author-name" itemprop="name">风离</p><div class="site-description" itemprop="description">QQ:1906249647</div></div><div class="site-state-wrap motion-element"><nav class="site-state"><div class="site-state-item site-state-posts"><a href="/archives"><span class="site-state-item-count">4</span> <span class="site-state-item-name">日志</span></a></div><div class="site-state-item site-state-categories"><a href="/categories/"><span class="site-state-item-count">3</span> <span class="site-state-item-name">分类</span></a></div><div class="site-state-item site-state-tags"><a href="/tags/"><span class="site-state-item-count">4</span> <span class="site-state-item-name">标签</span></a></div></nav></div><div class="links-of-author motion-element"><span class="links-of-author-item"><a href="https://github.com/fl1906" title="GitHub → https://github.com/fl1906" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i>GitHub</a> </span><span class="links-of-author-item"><a href="https://blog.csdn.net/qq_49186423" title="CSDN → https://blog.csdn.net/qq_49186423" rel="noopener" target="_blank"><i class="crosshairs fa-fw"></i>CSDN</a></span></div><div class="links-of-blogroll motion-element"><div class="links-of-blogroll-title"><i class="fa fa-link fa-fw"></i> 友情链接</div><ul class="links-of-blogroll-list"><li class="links-of-blogroll-item"><a href="https://wpa.qq.com/msgrd?v=3&uin=1906249647&site=qq&menu=yes%20%7C%7C%20qq" title="https://wpa.qq.com/msgrd?v=3&uin=1906249647&site=qq&menu=yes || qq" rel="noopener" target="_blank">QQ</a></li></ul></div></div></div></aside><div id="sidebar-dimmer"></div></div></main><footer class="footer"><div class="footer-inner"><div class="copyright">© <span itemprop="copyrightYear">2021</span> <span class="with-love"><i class="fa fa-heart"></i> </span><span class="author" itemprop="copyrightHolder">风离</span></div><div class="busuanzi-count"><script async src="https://busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><span class="post-meta-item" id="busuanzi_container_site_uv" style="display:none"><span class="post-meta-item-icon"><i class="fa fa-user"></i> </span><span class="site-uv" title="总访客量"><span id="busuanzi_value_site_uv"></span> </span></span><span class="post-meta-divider">|</span> <span class="post-meta-item" id="busuanzi_container_site_pv" style="display:none"><span class="post-meta-item-icon"><i class="fa fa-eye"></i> </span><span class="site-pv" title="总访问量"><span id="busuanzi_value_site_pv"></span></span></span></div><a target="_blank" rel="noopener" href="https://beian.miit.gov.cn/">鄂ICP备2020021992号-1</a></div></footer></div><script src="/lib/anime.min.js"></script><script src="/lib/velocity/velocity.min.js"></script><script src="/lib/velocity/velocity.ui.min.js"></script><script src="/js/utils.js"></script><script src="/js/motion.js"></script><script src="/js/schemes/pisces.js"></script><script src="/js/next-boot.js"></script><script>NexT.utils.loadComments(document.querySelector("#valine-comments"),()=>{NexT.utils.getScript("//unpkg.com/valine/dist/Valine.min.js",()=>{var e=["nick","mail","link"],i="nick,mail,link";i=i.split(",").filter(i=>e.includes(i)),new Valine({el:"#valine-comments",verify:!1,notify:!1,appId:"5VzMOTlV4lCtYADKDbzCugEC-gzGzoHsz",appKey:"ALzoYjId0IdHesm5gYa6Jxcu",placeholder:"Just go go",avatar:"mm",meta:i,pageSize:"10",visitor:!1,lang:"zh-cn",path:location.pathname,recordIP:!1,serverURLs:""})},window.Valine)})</script><script type="text/javascript" src="//cdn.bootcss.com/canvas-nest.js/1.0.0/canvas-nest.min.js"></script></body><script>class Circle{constructor(t,e){this.x=t,this.y=e,this.r=10*Math.random(),this._mx=Math.random(),this._my=Math.random()}drawCircle(t){t.beginPath(),t.arc(this.x,this.y,this.r,0,360),t.closePath(),t.fillStyle="rgba(204, 204, 204, 0.3)",t.fill()}drawLine(t,e){let i=this.x-e.x,r=this.y-e.y;Math.sqrt(i*i+r*r)<150&&(t.beginPath(),t.moveTo(this.x,this.y),t.lineTo(e.x,e.y),t.closePath(),t.strokeStyle="rgba(204, 204, 204, 0.3)",t.stroke())}move(t,e){this._mx=this.x<t&&this.x>0?this._mx:-this._mx,this._my=this.y<e&&this.y>0?this._my:-this._my,this.x+=this._mx/2,this.y+=this._my/2}}class currentCirle extends Circle{constructor(t,e){super(t,e)}drawCircle(t){t.beginPath(),this.r=8,t.arc(this.x,this.y,this.r,0,360),t.closePath(),t.fillStyle="rgba(255, 77, 54, 0.3)",t.fill()}}window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame;let canvas=document.getElementById("canvas"),ctx=canvas.getContext("2d"),w=canvas.width=canvas.offsetWidth,h=canvas.height=canvas.offsetHeight,circles=[],current_circle=new currentCirle(0,0),draw=function(){ctx.clearRect(0,0,w,h);for(let t=0;t<circles.length;t++)for(circles[t].move(w,h),circles[t].drawCircle(ctx),j=t+1;j<circles.length;j++)circles[t].drawLine(ctx,circles[j]);if(current_circle.x){current_circle.drawCircle(ctx);for(var t=1;t<circles.length;t++)current_circle.drawLine(ctx,circles[t])}requestAnimationFrame(draw)},init=function(t){for(var e=0;e<t;e++)circles.push(new Circle(Math.random()*w,Math.random()*h));draw()};window.addEventListener("load",init(60)),window.onmousemove=function(t){t=t||window.event,current_circle.x=t.clientX,current_circle.y=t.clientY},window.onmouseout=function(){current_circle.x=null,current_circle.y=null}</script><script type="text/javascript" src="/js/clicklove.js"></script><script src="https://cdn.jsdelivr.net/gh/stevenjoezhang/live2d-widget@latest/autoload.js"></script></html>