Skip to content

Commit 0f3f74a

Browse files
committed
add/expand comments about each code file
1 parent 668ad48 commit 0f3f74a

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

Fruit_Jam/Fruit_Jam_Card_Maker/project_code/card.template.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!-- SPDX-FileCopyrightText: 2025 Tim Cocks for Adafruit Industries -->
22
<!-- SPDX-License-Identifier: MIT -->
3+
<!-- quarter fold greeting card template file for Fruit Jam greeting card maker -->
34
<!DOCTYPE html>
45
<html lang="en">
56
<head>

Fruit_Jam/Fruit_Jam_Card_Maker/project_code/card_maker_helpers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# SPDX-FileCopyrightText: 2025 Tim Cocks for Adafruit Industries
22
# SPDX-License-Identifier: MIT
3+
"""
4+
Helper functions and class for the Fruit Jam greeting card maker.
5+
"""
36
import math
47
import random
58

Fruit_Jam/Fruit_Jam_Card_Maker/project_code/code.py

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# SPDX-FileCopyrightText: 2025 Tim Cocks for Adafruit Industries
22
# SPDX-License-Identifier: MIT
33
"""
4-
Greeting card maker for Fruit Jam
4+
Greeting card maker for Fruit Jam. Input messages for the front
5+
and inside of the card and select a custom image for the front,
6+
or use a snowflake image designed right inside the app.
57
"""
68
import json
79
import os
@@ -22,8 +24,14 @@
2224
from adafruit_checkbox import CheckBox
2325
from adafruit_button import Button
2426

25-
from card_maker_helpers import (PointHighlighterCache, svg_points, fill_polygon,
26-
draw_snowflake, random_polygon, distance)
27+
from card_maker_helpers import (
28+
PointHighlighterCache,
29+
svg_points,
30+
fill_polygon,
31+
draw_snowflake,
32+
random_polygon,
33+
distance,
34+
)
2735

2836
# change emoji here if you want to use different ones
2937
emoji = "🎄⛄❄️🌟"

Fruit_Jam/Fruit_Jam_Card_Maker/project_code/snowflake.template.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)