• Stars
    star
    115
  • Rank 300,575 (Top 7 %)
  • Language
    HTML
  • License
    MIT License
  • Created almost 3 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A little interactive sandbox for tiny people, tiny thoughts, and their tiny stories

Tiny humans 🌏

Tiny humans is a weekend hack inspired by this Instagram post. It's an interactive little sandbox world with tiny people and their tiny conversations. Play with it at tinyhumans.vercel.app or check out the gallery below for some ideas.

Tiny humans is written entirely in Oak, my programming language that conveniently compiles to JavaScript β€” you can read the whole source here. It renders everything using basic 2D Canvas APIs, and uses a custom algorithm to generate humans and their shadows. The background texture is from @marjanblan's Unsplash.

Tiny human

Build and deploy

Tiny humans is written in Oak. To develop or modify it, you'll need to install the oak tool from the repository. With it installed:

  • Run a server. Tiny humans is a static single-page app. Use any web server (like node-static or python -m http.Server) to serve the project directory. I use python -m http.Server 10009 and go to localhost:10009.
  • Build the program. The entire Oak source code for Tiny humans is in main.oak. To compile it into bundle.js which the app loads, run
     oak build --entry main.oak --output bundle.js --web
    That --web tells oak to compile our program to JavaScript. I usually run a variation of this while developing so that the code re-compiles on every change to my file. There are lots of ways to do this, but I use entr:
     ls *.oak | entr -cr oak build --entry main.oak -o bundle.js --web
  • Auto-format code. Oak has a code auto-formatter built in, called oak fmt. To re-format main.oak, run
     oak fmt main.oak --fix
     # or
     oak fmt --fix -- main.oak
    The --fix tells oak to fix up the file in-place. Using --diff instead won't change the file, but instead show any needed changes in your terminal.

Tiny humans gallery

Did you make something cool with Tiny humans? Do share it with me at @thesephist, I'd love to see :)

Tiny humans line up in formation, and a couple of leaders forge ahead into the unknown.

A scene of tiny humans

A tiny human battle is about to break out! Battlefronts form, and the first few brave souls make their moves.

A scene of tiny humans

A tiny human line forms for people waiting to join a tiny human circle. What for? That, I do not know.

A scene of tiny humans

More Repositories

1

monocle

Universal personal search engine, powered by a full text search algorithm written in pure Ink, indexing Linus's blogs and private note archives, contacts, tweets, and over a decade of journals.
JavaScript
1,452
star
2

ink

Ink is a minimal programming language inspired by modern JavaScript and Go, with functional style.
Go
553
star
3

blocks.css

Add some dimension to your page with blocks πŸš€
HTML
456
star
4

tabloid

A minimal programming language inspired by clickbait headlines
JavaScript
418
star
5

torus

Torus is an event-driven model-view UI framework for the web, focused on being tiny, efficient, and free of dependencies.
JavaScript
315
star
6

revery

A personal semantic search engine capable of surfacing relevant bookmarks, journal entries, notes, blogs, contacts, and more, built on an efficient document embedding algorithm and Monocle's personal search index.
JavaScript
270
star
7

unim.press

A Reddit front-page reader in the style of The New York Times.
JavaScript
241
star
8

oak

An expressive, simple, dynamic programming language.
HTML
231
star
9

polyx

Productivity suite written from scratch in Ink on the backend and Torus on the web
JavaScript
207
star
10

libsearch

Simple, index-free full-text search for JavaScript
JavaScript
160
star
11

merlot

Web based Markdown writing app built with isomorphic Ink and Torus
JavaScript
149
star
12

h12y

The email service for when just "hey.com" isn't enough.
HTML
148
star
13

modelexicon

This AI Does Not Exist: generate realistic descriptions of made-up machine learning models.
CSS
146
star
14

draw

Real-time collaborative whiteboard on the web
JavaScript
126
star
15

codeframe

The fastest, easiest way to build and deploy quick static webpages
JavaScript
125
star
16

histools

A collection of tools for generating data visualizations from browser history data
JavaScript
125
star
17

inc

A note-taking tool based on the principles of incremental note-taking, designed for quickly capturing fleeting ideas and growing a knowledge base over time.
Makefile
122
star
18

mira

A place for notes, but for the people I keep in touch with
JavaScript
115
star
19

lucerne

A Twitter reader designed for learning from the Twittersphere, built with Ink and Torus
JavaScript
114
star
20

calamity

Self-hosted GPT playground
CSS
108
star
21

stream

A Twitter-like micro-blog for personal project updates and snippets of thought, written in Oak
CSS
83
star
22

burds

Just some burds, jumpin' around in their own little world.
JavaScript
80
star
23

thingboard

A board of things, anywhere you want on the screen
JavaScript
67
star
24

ycvibecheck

Semantic search across every YC company ever. Vibe check your idea?
CSS
57
star
25

lovecroft

Minimal mailing list manager for static sites, with a simple JSON API
Go
57
star
26

frieden

My personal, read-only public availability calendar
JavaScript
55
star
27

paper.css

Lightweight, modern CSS to add some flair to your web-things πŸ“œ
HTML
41
star
28

klisp

A Lisp written in about 200 lines of Ink, featuring an interactive literate programming notebook
JavaScript
36
star
29

superstat

Git status + diff across every repo in a directory
Makefile
35
star
30

plume

Small in-memory real time chat server with Go and WebSockets
Go
32
star
31

typogram

Small, minimalistic graphics for powerful ideas in a few words
JavaScript
32
star
32

september

Ink to JavaScript compiler and toolchain, written in Ink itself
JavaScript
29
star
33

yolo

On the yolo page, anything goes... I'll merge any pull request you make to this website.
HTML
27
star
34

x-oak-notebook

Experimental tool for writing dynamic Markdown docs that embed interactive explorable visualizations
HTML
27
star
35

maverick

Web IDE and REPL for the Ink programming language, written in pure Ink on a self-hosted compiler toolchain
JavaScript
27
star
36

zone

A URL shortener / note sharing service.
JavaScript
25
star
37

pico

Lightweight notepad for ephemeral memos, todos, meeting notes, and more
JavaScript
24
star
38

kin

A refined tool for exploring open-source projects on GitHub with a file tree, rich Markdown and image previews, multi-pane multi-tab layouts and first-class support for Ink syntax highlighting.
JavaScript
24
star
39

codesynth

Generate music from your source code 🎹
JavaScript
23
star
40

august

Assembler from scratch written in Ink, supporting ELF on x86_64 and more.
Assembly
22
star
41

cornelia

Guess that Taylor Swift line <3
JavaScript
21
star
42

hfm

Hugging Face Download (Cache) Manager
Makefile
21
star
43

albatross

A simple to-do list app
CSS
21
star
44

shelf.page

An online, public β€œblog-shelf” for collecting and sharing interesting reads with your audience. What's on your digital shelf?
JavaScript
21
star
45

clozoom

Close your Zoom meeting tabs automatically
JavaScript
20
star
46

sistine

A simple, flexible, productive static site generator written entirely in Ink
HTML
19
star
47

carlisle

A minimal template for a Hugo site
CSS
19
star
48

litterate

Generate beautiful literate programming-style description of your code from comment annotations
JavaScript
19
star
49

xin

Xin (μ‹ /εΏƒ) is a flexible functional programming language with a tiny core, inspired by Lisp and CSP
Go
19
star
50

zerotocode

The best place on the web to learn to make stuff with code
HTML
18
star
51

animated-value

Imperative animation API for declarative UI renderers, like React, Preact, and Torus.
JavaScript
18
star
52

rush

Rush lets you work on many files at once
Makefile
17
star
53

schrift

A more experimental runtime for Ink, focused on perf and instrumentation
Rust
16
star
54

eliza

A modern port of the ELIZA conversational program to pure Ink to run as a command line and in the browser.
CSS
16
star
55

entr

A searchable repository of my personal notes from readings
JavaScript
15
star
56

dotink

dotink (.ink) is the Ink programming language's blog, and my general technical blog
HTML
15
star
57

sounds

A collection of sounds from places I've been
JavaScript
15
star
58

micropress

An Ink library for automatic text summarization
13
star
59

matisse

Gallery of generative art written with Ink
HTML
12
star
60

socialite

Fast social sharing metadata tag generator
JavaScript
12
star
61

traceur

Experimental pathtracing 3D renderer written in Ink
Makefile
12
star
62

spectre

Sparse autoencoders for Contra text embedding models
Jupyter Notebook
12
star
63

tsqdm

TQDM for TypeScript / Deno
TypeScript
12
star
64

xi

A dynamic, stack-based concatenative toy programming language.
Logos
11
star
65

ink-vscode

Support for the Ink programming language in Visual Studio Code
10
star
66

x-oak-klisp

A Klisp (scheme-like flavor of Lisp) implementation in Oak
Vim Script
9
star
67

lambda

The untyped lambda calculus, implemented in Ink
8
star
68

looking-glass

A simple web screenshot API using Puppeteer
JavaScript
8
star
69

wintermute

Generating fake blog posts from my blog with a Markov chain
Go
7
star
70

oak-syntax-visualizer

Oak syntax visualizer, made for GopherCon 2021
CSS
7
star
71

etch

Dead simple project scaffolding for my commonly used layouts
CSS
7
star
72

vanta

Port of thesephist/klisp to pure Go
Go
6
star
73

dotfiles

Config, scripts, rc files πŸ’»
JavaScript
5
star
74

ky

A modal text editor
Go
5
star
75

rational-arithmetic

A no-dependency, lightweight JS library for arithmetic with rational numbers
JavaScript
5
star
76

inkfmt

Code formatter for the Ink programming language
Shell
4
star
77

markovify

Using Markov chains to naively generate sequences of words from training samples.
JavaScript
4
star
78

nought

Personal people-manager, what some people might call a personal CRM
HTML
3
star
79

dessi

A quick, simple server-side-includes expander
JavaScript
3
star
80

papyrus

Small, static-site for hosting read-optimized content, like stories or e-books
HTML
3
star
81

codeliner

Generate codelines: like silhouette outlines, but for your source code
3
star
82

inker

Web API to run Ink code on any device πŸ’»
JavaScript
3
star
83

state-of-startups-bearx

BearX's State of Startups Report
HTML
3
star
84

web-audio-workshop-2020

Web Audio API Workshop for Hack the Fog and hackswiftly 2020
JavaScript
3
star
85

send-tweet

Small Ink program to send tweets using the Twitter JSON API
2
star
86

strat

Minimal framework for futures, options, and cryptocurrency investments built on the Robinhood (private) API
JavaScript
2
star
87

brandish

Visual branding for humans
JavaScript
2
star
88

hurricane

Zero-configuration, read-only JSON API proxy in front of an Airtable base
Go
2
star
89

traceur-web

Web and JavaScript port of thesephist/traceur
JavaScript
2
star
90

ittr

Small library of iterator-related utility functions for JavaScript
JavaScript
2
star
91

ansi.ink

Ink library for printing with ANSI escape sequences
1
star
92

pandora

A small, HTML5 quiz SPA
JavaScript
1
star
93

generator-vanilla-extension

Yeoman generator for simple chrome extensions
JavaScript
1
star
94

thesephist.github.io

Placeholder for personal website
HTML
1
star
95

pyro

Check if any of the routes in a list of critical routes of an app are failing
Go
1
star
96

sigil

My full-time to-do list and task manager πŸ”₯
JavaScript
1
star
97

notepad

Short bash script to pull up $EDITOR
Shell
1
star
98

talaria

Inward-out gesture recognition in a wearable
Python
1
star
99

blocky-logos

Blocky logos, an exploratory creative project about logo and branding 🌁
HTML
1
star
100

cfp

My submissions to conference calls for papers and talk proposals
1
star