mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-23 03:06:54 -04:00
Cleanup repo (#54)
This commit is contained in:
parent
f3f9fec642
commit
992ef265a3
5 changed files with 0 additions and 32 deletions
|
@ -1,26 +0,0 @@
|
|||
---
|
||||
title: "Lines from center"
|
||||
date: 2019-03-04T22:15:42-03:00
|
||||
description: "this is a p5js sketch"
|
||||
libs:
|
||||
js:
|
||||
- https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/p5.min.js
|
||||
---
|
||||
|
||||
<div id="sketch"></div>
|
||||
|
||||
<script>
|
||||
var sketch = document.getElementById('sketch')
|
||||
function setup() {
|
||||
var canvas = createCanvas(windowWidth, windowHeight)
|
||||
canvas.parent('#sketch')
|
||||
}
|
||||
|
||||
function draw() {
|
||||
line(width/2, height/2, mouseX, mouseY)
|
||||
}
|
||||
|
||||
function windowResized() {
|
||||
resizeCanvas(windowWidth, windowHeight);
|
||||
}
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue