Tag Archives: Micromegas

Micromégas (Voltaire, 1752)

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
//JavaScript for 3-D audio visualiser (based on Three.js => https://github.com/mrdoob/three.js/)
<canvas id="spectrogram"></canvas>
//<button class="play-button">Play</button>
<script type="module">
import * as THREE from 'https://christopher-germann.de/three.module.js';
document.addEventListener('DOMContentLoaded', () => {
let audioContext; // Declare audio context variable
// Function to initialise audio context
function
//JavaScript for 3-D audio visualiser (based on Three.js => https://github.com/mrdoob/three.js/) <canvas id="spectrogram"></canvas> //<button class="play-button">Play</button> <script type="module"> import * as THREE from 'https://christopher-germann.de/three.module.js'; document.addEventListener('DOMContentLoaded', () => { let audioContext; // Declare audio context variable // Function to initialise audio context function
//JavaScript for 3-D audio visualiser (based on Three.js => https://github.com/mrdoob/three.js/)
<canvas id="spectrogram"></canvas>
//<button class="play-button">Play</button>
<script type="module">
    import * as THREE from 'https://christopher-germann.de/three.module.js';

    document.addEventListener('DOMContentLoaded', () => {
        let audioContext; // Declare audio context variable

        // Function to initialise audio context
        function