Skip to content

Instantly share code, notes, and snippets.

View stemcstudio's full-sized avatar

David George Holmes stemcstudio

View GitHub Profile
@stemcstudio
stemcstudio / App.svelte
Last active October 19, 2022 16:48
Svelte - Spread props
<script>
import Info from './Info.svelte';
const pkg = {
name: 'svelte',
version: 3,
speed: 'blazing',
website: 'https://svelte.dev'
};
</script>
@stemcstudio
stemcstudio / App.svelte
Last active January 24, 2022 18:12
Svelte - Hello World
<script>
let name = 'World';
</script>
<h1>Hello {name}!</h1>
@stemcstudio
stemcstudio / README.md
Last active February 12, 2021 02:18
Conway's Game of Life

Conway's Game of Life

Overview

The Game of Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970.

For more information, (right click and open in a new tab) Wikipedia

@stemcstudio
stemcstudio / README.md
Last active October 10, 2020 16:14
Public to Private

TypeScript Starter Application

Purpose

This application may be used as a template for creating new applications in STEMCstudio.

Features

@stemcstudio
stemcstudio / README.md
Last active November 26, 2020 00:27
Jessie Code Parsing

Jessie Code

Overview

This program demonstrates using JessieCode in STEMCstudio.

Highlighting is provided by using a C++ syntax highlighter. There is no validation of the JessieCode.

@stemcstudio
stemcstudio / README.md
Last active October 7, 2020 20:33
Advanced JSXGraph

Advanced JSXGraph

Overview

This program provides the boilerplate for creating a JSXGraph Board.

Credits

@stemcstudio
stemcstudio / README.md
Last active October 8, 2020 09:45
Igor Pesek with "jxgsdk"

Igor Pesek with "jxgsdk"

Overview

This program demonstrates a program using JSXGraph written in TypeScript and hosted in STEMCstudio. The program demonstrates how a wrapper API (jxgsdk) may be used to provide a discoverable API for human consumption.

Credits

@stemcstudio
stemcstudio / README.md
Last active October 7, 2020 18:29
JSXGraph Conference 2020

JSXGraph Template

Overview

This program provides the boilerplate for creating a JSXGraph Board.

Credits

@stemcstudio
stemcstudio / README.md
Last active May 1, 2021 18:40
Igor Pesek Workshop

Igor Pesek Workshop

Overview

This program demonstrates a program using JSXGraph written in TypeScript and hosted in STEMCstudio.

Credits

@stemcstudio
stemcstudio / ChargedParticle.ts
Last active October 17, 2024 19:40
Electric Dipole
import { Color } from 'davinci-eight'
import { Geometric3 as G3 } from 'davinci-newton'
const m = G3.meter
const kg = G3.kilogram
const s = G3.second
const C = G3.coulomb
const N = kg * m / (s * s)
const ε0 = 8.85e-12 * C * C / (N * m * m)