Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
manifestants
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aldo Gonzalez-Lorenzo
manifestants
Commits
a6dc0224
Commit
a6dc0224
authored
2 years ago
by
Aldo Gonzalez-Lorenzo
Browse files
Options
Downloads
Patches
Plain Diff
Minor change in the interface
parent
abf66b24
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
index.html
+22
-11
22 additions, 11 deletions
index.html
with
22 additions
and
11 deletions
index.html
+
22
−
11
View file @
a6dc0224
...
...
@@ -10,12 +10,22 @@
#comptage
{
cursor
:
crosshair
;
}
.container
{
display
:
flex
}
.container
p
:first-child
{
width
:
200px
;
}
p
{
margin
:
2px
;
}
</style>
<script
src=
"https://cdn.jsdelivr.net/npm/p5@1.1.9/lib/p5.js"
></script>
</head>
<body>
<div
id=
"comptage"
></div>
<div
class=
"container"
>
<p>
Time:
<span
id=
"time"
></span>
</p>
...
...
@@ -24,8 +34,9 @@
<button
id=
"pause"
>
Pause
</button>
<button
id=
"play"
>
Play
</button>
</p>
</div>
<p>
Manifestants enregistr
e
s :
<span
id=
"manifestants"
>
0
</span><br>
Manifestants enregistr
é
s :
<span
id=
"manifestants"
>
0
</span><br>
<textarea
rows=
"2"
cols=
"100"
></textarea>
<button
id=
"import"
>
Import
</button>
</p>
<script>
...
...
@@ -44,7 +55,7 @@
video
.
play
()
video
.
pause
()
// set_video_height(600)
set_video_width
(
1
4
00
)
set_video_width
(
1
7
00
)
video
.
hide
()
// hides the html video loader
})
}
...
...
@@ -75,7 +86,7 @@
if
(
Math
.
abs
(
person
.
t
-
video
.
time
())
<
0.5
)
{
p
.
push
()
p
.
noStroke
()
p
.
fill
(
'
rgba(
255
, 2
04
, 0, 0.5)
'
)
p
.
fill
(
'
rgba(
0
, 2
55
, 0, 0.5)
'
)
p
.
circle
(
person
.
x
*
p
.
width
,
person
.
y
*
p
.
height
,
10
)
p
.
pop
()
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment