Materializr
오픈소스 파라메트릭 3D CAD로 제약 스케치·솔리드 모델·나사·SVG·텍스트 조각·STL/STEP 내보내기를 지원합니다
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기Art Studio: beginner-friendly digital painting app with layers, watercolor/oil brushes, pixel art and an infinite canvas. Play in your browser.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다.
README 전문 보기 ↗| How | |
|---|---|
| 🌐 Option 1: Online | Open jaineil32624.github.io/Art-Studio and start painting. |
| ⬇️ Option 2: Download | Get Art-Studio.zip, unzip it and double-click index.html. It works offline and there's nothing to install. |
| 📱 Option 3: Phone / tablet | Open the link, then tap Share → Add to Home Screen (iPhone/iPad) or ⋮ → Add to Home screen (Android). |
💡 Your artwork autosaves in the browser. Use File → Export project to back it up or move it to another device.
| Key | Tool | Key | Action | |
|---|---|---|---|---|
B | 🖌️ Brush | Ctrl Z | ↩️ Undo | |
N | ✏️ Pencil | Ctrl Y | ↪️ Redo | |
M | 🖍️ Marker | Ctrl S | 💾 Save in browser | |
E | 🧽 Eraser | Ctrl E | 🖼️ Export PNG | |
W | 💧 Watercolor | Ctrl O | 📂 Open project | |
O | 🎨 Oil paint | Space + drag | ✋ Pan | |
A | 🌫️ Spray paint | Wheel / pinch | 🔍 Zoom | |
P | 👾 Pixel art | [ ] | ↔️ Brush size | |
F | 🌊 Flow field | Shift [ ] | 🌗 Opacity | |
Y | 🎀 Ribbon | X | 🔁 Swap colors | |
C | 🍃 Scatter shapes | Alt + click | 💉 Pick a color | |
K | 🕸️ Sketchy web | Ctrl J | 📄 Duplicate layer | |
Q | 🧩 Pattern brush |
Art Studio is plain HTML, CSS and JavaScript, with no libraries, no build step and no network access. It runs straight from disk (file://). In the code, everything lives under the window.App2 namespace.
+/− keys, or the zoom buttons. Fit and 100% are also available.X).localStorage a few seconds after each change. The previous session is restored when you reopen the app..app2.json files, which hold the layers as PNG data URLs (one per tile) plus metadata. You can also drop a project file or an image onto the canvas.Art-Studio/
├── index.html ← loads every script in dependency order (classic <script> tags)
├── css/app.css ← dark theme + responsive layout
└── js/
├── core/ ← namespace, EventBus, math (rects, matrices), color, noise (Perlin/fBm/Worley), Store (app state)
├── canvas/ ← TiledLayer, ArtDocument, Viewport, History, Commands (undoable layer ops), Symmetry, Renderer
├── tools/
│ ├── tool.js ← Tool base class + ToolManager + App2.tools.register()
│ ├── brush-tool.js ← generic driver: smoothing, spacing, pressure, symmetry lanes, stroke buffers, history
│ ├── brushes/ ← brush-engine registry + one file per engine
│ └── *-tool.js ← hand, select, pixel, fill, gradient, shape, eyedropper, sticker/place
├── creative/ ← textures, stickers, patterns, palettes
├── io/ ← project (de)serialisation, localStorage, export/import
├── ui/ ← icons, DOM helpers, top bar, tool bar, panels, canvas input, shortcuts
└── main.js ← boot: builds App2.app and wires everything together
Key ideas:
window.App2. This avoids import, which is blocked under file://. index.html lists the scripts in dependency order.paint(). All pixel writes go through layer.paint(worldRect, fn). The callback runs once for each 256 px tile in the rectangle, with the context already translated into world coordinates. Tiles are created on demand, and an attached history recorder snapshots each tile before it changes.history.begin(layer) → paint → history.end(label). Each entry stores only the dirty rectangle of each touched tile, as before and after ImageData. Tiles that end up empty are deleted. Layer and structure operations are stored as small undo()/redo() closures (see canvas/actions.js).destination-out for the eraser). This is why opacity never builds up within a stroke.ctx.transform.app.bus (doc:changed, layers:changed, tool:changed, color:changed, …). The renderer batches drawing with requestAnimationFrame.js/tools/brushes/my-brush.js:(function (App2) {
'use strict';
const { Color } = App2.core;
App2.brushes.register({
id: 'confetti-line', // unique; also the tool id
name: 'Confetti Line', // tooltip + panel title
icon: 'sparkles', // any key from js/ui/icons.js
shortcut: 'j', // optional single key
group: 'gen', // paint | art | gen (tool bar grouping)
order: 260, // position in the tool bar
description: 'Little squares along the stroke.',
buffered: false, // true = paint into a stroke buffer (no build-up)
defaults: { size: 30, opacity: 1, spacing: 0.4, jitter: 0.5 },
options: [ // extra controls, rendered automatically
{ key: 'jitter', label: 'Jitter', type: 'range', min: 0, max: 1, step: 0.01, format: 'pct' },
],
// Called for each evenly spaced dab. p = {x, y, pressure, angle, radius, alpha, dist}
dab(s, p) {
// IMPORTANT: compute all randomness BEFORE painting. paint() calls the
// callback once per touched tile, so random values generated inside it
// would differ between tiles and leave visible seams.
const ox = (s.rng() - 0.5) * p.radius * s.settings.jitter * 2;
const oy = (s.rng() - 0.5) * p.radius * s.settings.jitter * 2;
const color = Color.rgba(Color.hueShiftRgb(s.rgb, s.rng() * 60), 1);
s.paintAt(p.x + ox, p.y + oy, p.radius, (ctx) => {
ctx.globalAlpha = p.alpha;
ctx.fillStyle = color;
ctx.fillRect(p.x + ox - p.radius / 2, p.y + oy - p.radius / 2, p.radius, p.radius);
});
},
});
})(window.App2);
<script src="js/tools/brushes/my-brush.js"></script> to index.html, after brush-tool.js and before main.js.That's all. The engine appears in the tool bar with a tooltip and shortcut, gets a settings panel (size, opacity, hardness, spacing, smoothing, pressure toggles and your options) and works with symmetry, undo/redo, Alt-to-pick and saving.
Other hooks you can use:
begin(s) / end(s): run at the start and end of a stroke. Keep per-stroke state in s.state.segment(s, a, b): replaces dab for continuous drawing (see pencil.js).airbrush: true: keeps emitting dabs while the pointer is held still.composite: 'destination-out': how a buffered stroke is committed.s.sample(x, y, r): average color under the brush, used for smudging.Custom non-brush tools subclass App2.tools.Tool and call App2.tools.register({ id, name, icon, shortcut, group, order, defaults, create: (app, def) => new MyTool(app, def) }).
localStorage is limited, so very large documents need Export project.MIT © 2026 Jaineil Rana. See LICENSE.
Ctrl M |
| ⬇️ Merge down |
G | 🪣 Fill bucket | 0 / 1 | 🎯 Fit / 100% |
D | 🌈 Gradient | Enter / Esc | ✅ Apply / ❌ cancel sticker |
U | 🔷 Shapes | Delete | 🗑️ Clear selection |
I | 💉 Eyedropper | Tab | 🧰 Show/hide panels |
S | 🦄 Stickers | ? | ❓ Help |
R | ⬚ Select | 🎵 button | 🔊 Music on/off |
H | ✋ Hand |