Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Volker Coors
Visualization
Commits
43137159
Commit
43137159
authored
May 19, 2021
by
Koukofikis
Browse files
Update colorbrewer2.html
parent
7a527878
Pipeline
#3783
passed with stages
in 19 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
public/X3DOMTutorial/colorbrewer2.html
View file @
43137159
<html>
<html>
<head>
<meta
charset=
"utf-8"
>
<title>
Material brewer
</title>
<!-- source Colorpicker slider: http://jqueryui.com/slider/#colorpicker -->
<link
rel=
"stylesheet"
type=
"text/css"
href=
"x3dom.css"
>
<link
rel=
"stylesheet"
href=
"http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"
>
<link
rel=
"stylesheet"
href=
"http
s
://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"
>
</link>
<script
src=
"http://code.jquery.com/jquery-1.10.2.js"
></script>
<script
src=
"http://code.jquery.com/ui/1.10.4/jquery-ui.js"
></script>
<script
src=
"http
s
://code.jquery.com/jquery-1.10.2.js"
></script>
<script
src=
"http
s
://code.jquery.com/ui/1.10.4/jquery-ui.js"
></script>
</link>
<style>
#red
,
...
...
@@ -69,7 +69,7 @@
<p>
<br><br><br><br><br><br><br><br><br><br>
The diffuse color of a material will be interactively changed.
A JavaScript
<a
href=
"http://jqueryui.com/slider/#colorpicker target="
_blank
"
>
RGB color picker
</a>
is used
A JavaScript
<a
href=
"http
s
://jqueryui.com/slider/#colorpicker target="
_blank
"
>
RGB color picker
</a>
is used
and modified.
If the RGB color value is changed, the diffuse material of the sphere shall be changed as well. So we need to
get the Material node first.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment