@kurrycat2004/

p5.js/python

HTML, CSS, JS

Processing.py with p5.js brython

fork
loading
Files
  • index.html
  • main.py
  • style.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html>

<head>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/p5.min.js">

	</script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/addons/p5.dom.min.js">

	</script>
	<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/addons/p5.sound.min.js">

	</script>
	<script type="text/javascript" src="https://cdn.rawgit.com/brython-dev/brython/master/www/src/brython.js">

	</script>
	<script src="https://cdn.rawgit.com/brython-dev/brython/master/www/src/brython_stdlib.js">

	</script>


	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width">
	<title>repl.it</title>
	<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body onload="brython(1)">
	<script type="text/python" src="main.py"></script>
</body>

</html>
result
console