Key frame: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
X3D: Corretto esempio X3D (indentazione e syntax highlighting)
Etichette: Modifica da mobile Modifica da web per mobile
FrescoBot (discussione | contributi)
Riga 14:
 
=== [[CSS|CSS3]] ===
Esempio<ref>{{Cita web|url=https://www.w3schools.com/cssref/css3_pr_animation-keyframes.asp|titolo=CSS @keyframes Rule|sito=www.w3schools.com|accesso=2021-03-07}}</ref>:<syntaxhighlight lang="css">
div {
width: 100px;
Riga 44:
 
=== [[WebGL]] ===
Esempio<ref>{{Cita web|url=https://www.oreilly.com/library/view/webgl-up-and/9781449326487/ch04.html|titolo=4. Animation - WebGL: Up and Running [Book]|sito=www.oreilly.com|lingua=en|accesso=2021-03-07}}</ref>:<syntaxhighlight lang="javascript">
var keys = [0, 0.25, 1];
var values = [new THREE.Vector3(0, 0, 0),
Riga 92:
 
=== [[O3D]] ===
Esempio<ref>{{Cita web|url=http://www.open3d.org/docs/latest/tutorial/ReconstructionSystem/make_fragments.html|titolo=Make fragments — Open3D latest (664eff5) documentation|sito=www.open3d.org|accesso=2021-03-07}}</ref>:<syntaxhighlight lang="javascript">
if s % config['n_keyframes_per_n_frame'] == 0 \
and t % config['n_keyframes_per_n_frame'] == 0: