Skip to content

Instantly share code, notes, and snippets.

@TKTheTechie
TKTheTechie / Text3D.svelte
Last active December 20, 2023 20:57
Threlte component that wraps TextGeometry from three.js
<script lang="ts">
import { T, extend, type AsyncWritable } from '@threlte/core';
import type { Material } from 'three';
import { FontLoader } from 'three/examples/jsm/loaders/FontLoader';
import { TextGeometry } from 'three/examples/jsm/geometries/TextGeometry';
import { useLoader } from '@threlte/core';
extend({ TextGeometry });
export let fontPath: string;
@TKTheTechie
TKTheTechie / SolMarketDataProcessor.java
Last active January 27, 2021 19:39
A simple market data processor
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
<template>
<require from='./time-graph'></require>
This is my time control!
<section time-graph="dailyTraffic.bind:dailyTraffic"></section>
</template>