Skip to content
This repository has been archived by the owner on Sep 8, 2022. It is now read-only.

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianDroske committed Mar 20, 2021
0 parents commit 3d77e17
Show file tree
Hide file tree
Showing 175 changed files with 28,958 additions and 0 deletions.
1 change: 1 addition & 0 deletions 2020-10-27.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"":"考点28\n\t"}
Binary file added 7z.dll
Binary file not shown.
Binary file added 7z.exe
Binary file not shown.
Binary file added C15S/Wallpaper3/D3Dcompiler_47.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/Qt5Core.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/Qt5Gui.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/Qt5Network.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/Qt5Positioning.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/Qt5PrintSupport.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/Qt5Qml.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/Qt5Quick.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/Qt5QuickWidgets.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/Qt5SerialPort.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/Qt5Svg.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/Qt5WebChannel.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/Qt5WebEngineCore.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/Qt5WebEngineWidgets.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/Qt5Widgets.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/QtWebEngineProcess.exe
Binary file not shown.
Binary file added C15S/Wallpaper3/Wallpaper.exe
Binary file not shown.
Binary file added C15S/Wallpaper3/bearer/qgenericbearer.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/bearer/qnativewifibearer.dll
Binary file not shown.
1 change: 1 addition & 0 deletions C15S/Wallpaper3/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"layout":2,"path":"C:/C15Support/Wallpaper3/html/example/index.html"}
29 changes: 29 additions & 0 deletions C15S/Wallpaper3/html/example_ori/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<style>
*{
margin: 0;
padding: 0;
}
body,html{
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background: #292929;
}

</style>
</head>
<body>
<canvas id="can"></canvas>
<script src="js2.js"></script>
</body>
</html>
83 changes: 83 additions & 0 deletions C15S/Wallpaper3/html/example_ori/js2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
/**
* Created by Yuki on 2018/5/23.
*/
let can = document.getElementById('can');
let ctx = can.getContext('2d');
let ran = Math.random; //封装随机数
let circularLength = 1300; //这里是生成的粒子的个数
can.width = window.innerWidth;
can.height = window.innerHeight;
let color = ['red', 'pink', 'lightgreen', 'yellow', 'skyblue'];
let circularArr = [];
let minR = 3; // 最小的粒子的半径
let maxR = 6;
let x = 10; //粒子的水平间隔
let y = 10; //粒子的垂直间隔
(function () {// 生成粒子的匿名函数
let j = 0;
for (let i = 0; i < circularLength; i++) {
(i % 45 == 0) && (j++);
circularArr.push({
x: (x * (i % 45) * 5),
y: (y * j * 5),
r: (ran() * maxR ) + minR,
});
}
})()
let gradient = ctx.createLinearGradient(0, can.height, can.width, 0);
for (let j in color) {
let co = color[j];
gradient.addColorStop(j / color.length, co);
}
let anger = 0;

draw();
function draw() {
anger++;
ctx.clearRect(0, 0, can.width, can.height);
let now = ~~(ran() * circularLength);
let arr = [];
for (let i = 0; i < circularArr.length; i++) {
let c = circularArr[i];

if (c.r > 1) {
c.r -= .1;
} else {
c.r = (ran() * maxR) + minR
}
let long = Math.sqrt(Math.pow(c.x - can.width / 2, 2) + Math.pow(c.y - can.height / 2, 2));
if (long < 2000) {
ctx.globalAlpha = 0.02;
ctx.beginPath();
ctx.moveTo(can.width / 2, can.height / 2);
ctx.save();
ctx.translate(c.x, c.y);
ctx.rotate((i * 3) - anger * .01);
ctx.translate(-c.x / 3, -c.y / 3);
ctx.lineTo(0, 0);
ctx.strokeStyle = gradient;
ctx.stroke();
ctx.restore();
}
ctx.globalAlpha = 0.4;
ctx.save();
ctx.translate(c.x, c.y);
ctx.rotate((i * 3) - anger * .01);
ctx.translate(-c.x / 3, -c.y / 3);
ctx.beginPath();
ctx.arc(0, 0, c.r, 0, 2 * Math.PI);

ctx.closePath();
ctx.restore();
ctx.fillStyle = gradient;
ctx.fill();


}

requestAnimationFrame(draw)
}
window.onresize = function () {
can.width = window.innerWidth;
can.height = window.innerHeight;
}
Binary file added C15S/Wallpaper3/iconengines/qsvgicon.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/imageformats/qgif.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/imageformats/qicns.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/imageformats/qico.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/imageformats/qjpeg.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/imageformats/qsvg.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/imageformats/qtga.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/imageformats/qtiff.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/imageformats/qwbmp.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/imageformats/qwebp.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/libEGL.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/libGLESV2.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/opengl32sw.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/platforms/qwindows.dll
Binary file not shown.
Binary file added C15S/Wallpaper3/position/qtposition_geoclue.dll
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added C15S/Wallpaper3/position/qtposition_winrt.dll
Binary file not shown.
Binary file not shown.
Binary file added C15S/Wallpaper3/resources/icudtl.dat
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
39 changes: 39 additions & 0 deletions C15S/Wallpaper3/source/Wallpaper.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#-------------------------------------------------
#
# Project created by QtCreator 2018-06-05T20:29:07
#
#-------------------------------------------------

QT += core gui
QT += webenginewidgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = Wallpaper
TEMPLATE = app
LIBS += -luser32

# The following define makes your compiler emit warnings if you use
# any feature of Qt which as been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0

msvc:QMAKE_CXXFLAGS += -execution-charset:utf-8
win32:RC_FILE = icon.rc

SOURCES += main.cpp\
wallpaper.cpp \
utils.cpp

HEADERS += wallpaper.h \
utils.h

FORMS += wallpaper.ui

RESOURCES += \
icon.qrc
Loading

0 comments on commit 3d77e17

Please sign in to comment.