21 lines
No EOL
645 B
HTML
21 lines
No EOL
645 B
HTML
{% set meta={"title": "Star maker", "desc": "Generate stars"} %}
|
|
{% extends "/_base.html"%}
|
|
{% block head %}
|
|
<script src="https://cdn.jsdelivr.net/npm/p5@1.4.0/lib/p5.js"></script>
|
|
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
|
|
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
|
|
crossorigin="anonymous">
|
|
</script>
|
|
<script src="main.js"></script>
|
|
{% endblock %}
|
|
{% block content %}
|
|
<div>
|
|
Points:
|
|
<input type="text" id="points" value="8">
|
|
Jump:
|
|
<input type="text" id="jump" value="3">
|
|
Use colors:
|
|
<input type="checkbox" id="colors">
|
|
</div>
|
|
<div id="canvas-wrapper"> </div>
|
|
{% endblock %} |