This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir "raw_assets/$1" | |
for i in {1..160} | |
do | |
gphoto2 --capture-image-and-download --filename "raw_assets/$1/$(printf "%03d" $i).jpg" | |
read -s | |
done |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use std::collections::{HashMap, HashSet}; | |
use bevy::{ | |
prelude::*, | |
reflect::TypeUuid, | |
core::FloatOrd, | |
render::{ | |
camera::{VisibleEntities, VisibleEntity}, | |
stage::DRAW, | |
draw::{DrawContext, Drawable, DrawError}, | |
pipeline::{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build releases | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
include: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use bevy::{ | |
prelude::*, | |
asset::LoadState, | |
sprite::{TextureAtlasBuilder, node}, | |
render::{ | |
mesh::{shape, VertexAttributeValues, Indices}, | |
pipeline::{PipelineDescriptor, RenderPipeline, PrimitiveTopology}, | |
render_graph::{base, AssetRenderResourcesNode, RenderGraph}, | |
renderer::RenderResources, | |
shader::{ShaderStage, ShaderStages}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// pathfinder/examples/canvas_minimal/src/main.rs | |
// | |
// Copyright © 2019 The Pathfinder Project Developers. | |
// | |
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | |
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | |
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | |
// option. This file may not be copied, modified, or distributed | |
// except according to those terms. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// pathfinder/examples/canvas_minimal/src/main.rs | |
// | |
// Copyright © 2019 The Pathfinder Project Developers. | |
// | |
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | |
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | |
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | |
// option. This file may not be copied, modified, or distributed | |
// except according to those terms. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use rstar::{Point, RTree}; | |
fn main() { | |
let bulk_nodes = vec![ | |
[570.0, 1080.0, 89.0], | |
[30.0, 1080.0, 627.0], | |
[1916.0, 1080.0, 68.0], | |
[274.0, 1080.0, 790.0], | |
[476.0, 1080.0, 895.0], | |
[1557.0, 1080.0, 250.0], | |
[1546.0, 1080.0, 883.0], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//pathfinder/examples/canvas_minimal/src/main.rs | |
// | |
// Copyright © 2019 The Pathfinder Project Developers. | |
// | |
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | |
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | |
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | |
// option. This file may not be copied, modified, or distributed | |
// except according to those terms. |