Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
flow3r firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
flow3r
flow3r firmware
Commits
c0b3cb04
Commit
c0b3cb04
authored
1 year ago
by
Anon
Committed by
iggy
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
py: fix syntax errors
parent
8ad2ecbe
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!11
python: Set up Black / flake8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python_payload/apps/demo_mandelbrot.py
+2
-2
2 additions, 2 deletions
python_payload/apps/demo_mandelbrot.py
python_payload/apps/flow3roids.py
+4
-2
4 additions, 2 deletions
python_payload/apps/flow3roids.py
with
6 additions
and
4 deletions
python_payload/apps/demo_mandelbrot.py
+
2
−
2
View file @
c0b3cb04
from
application
import
Application
from
st3m.
application
import
Application
import
ui
class
MandelbrotApp
(
Application
):
...
...
@@ -25,7 +25,7 @@ class MandelbrotApp(Application):
for
x
in
range
(
-
240
,
240
):
for
y
in
range
(
-
240
,
240
):
pass
app
=
MandelbrotApp
(
"
Mandelbrot
"
)
app
.
run
()
\ No newline at end of file
This diff is collapsed.
Click to expand it.
python_payload/apps/flow3roids.py
+
4
−
2
View file @
c0b3cb04
from
application
import
SimpleApplication
from
st3m.
application
import
SimpleApplication
app
=
SimpleApplication
(
"
flow3rdroids
"
)
...
...
@@ -17,6 +17,8 @@ def on_draw():
def
on_scroll_step
(
direction
):
#TODO: ship_direction += direction * angle
pass
def
def
on_enter
():
def
on_enter
():
#TODO:ship_direction += speed
pass
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment