Skip to content

Instantly share code, notes, and snippets.

@kunofellasleep
Created August 5, 2020 09:12
Show Gist options
  • Save kunofellasleep/400f1603f3dcbc1e5d9fb4583a13f7c0 to your computer and use it in GitHub Desktop.
Save kunofellasleep/400f1603f3dcbc1e5d9fb4583a13f7c0 to your computer and use it in GitHub Desktop.
IntervalPulse.js - SparkARStudio
const Diagnostics = require('Diagnostics');
const Scene = require('Scene');
const Patches = require('Patches');
const Time = require('Time');
const R = require('Reactive');
let duration = 7800;
Time.setInterval((function hoge() {
Patches.inputs.setPulse('IntervalPulse',R.once());
return hoge;
}()), duration);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment