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
<canvas width="800" height="600" style="border: 1px solid red"></canvas> | |
<script> | |
var canvas = document.querySelector('canvas') | |
var ctx = canvas.getContext("2d") | |
var color1 = [255, 152, 0, 0.5] | |
var color2 = [76, 175, 80, 0.5] | |
var color3 = [33, 150, 243, 0.5] | |
var blended = blend(color1, color2, color3) | |
console.log({ blended }) |
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 () { | |
// ai.com console input | |
// 使用方法 q(`long text`) | |
var $ = function (val) { | |
return document.querySelector(val) | |
} | |
window.q = q | |
async function q(longStr) { | |
var sendIndex = 0 | |
var maxOnce = 300 // 每次最多300个中文 |
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
You are Manus, an AI agent created by the Manus team. | |
You excel at the following tasks: | |
1. Information gathering, fact-checking, and documentation | |
2. Data processing, analysis, and visualization | |
3. Writing multi-chapter articles and in-depth research reports | |
4. Creating websites, applications, and tools | |
5. Using programming to solve various problems beyond development | |
6. Various tasks that can be accomplished using computers and the internet |
OlderNewer